5 PATH=/sbin:/usr/sbin:/bin:/usr/bin
8 . /etc/sysconfig/network
9 . /etc/rc.d/init.d/functions
10 . /lib/rc-scripts/functions.network
15 if [ "foo$2" = "fooboot" ] && is_no "${ONBOOT}"; then
19 # set all major variables
22 if is_yes "$IPV4_NETWORKING"; then
23 if [ -n "$IP4ADDR" ]; then
24 ip -4 addr add ${IP4ADDR} peer ${REMIP} dev ${DEVICE}
28 if is_yes "$IPV6_NETWORKING"; then
29 if [ -n "$IP6ADDR" ]; then
30 ip -6 addr add ${IP6ADDR} dev ${DEVICE}
34 ip link set dev ${DEVICE} up
36 . /etc/sysconfig/network
38 # IPv4/6 gateways and default routes
41 /lib/rc-scripts/ifup-post $1