aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-03 19:34:29 +0000
committerBill Nottingham <notting@redhat.com>1999-02-03 19:34:29 +0000
commit78f1af4fcbcc1193db5e9db036359e14cc98afd9 (patch)
treed4e80f4f61ef4d6f7d436b49ac7f113182a82ca9 /rc.d/init.d/network
parentd503a6fe70268f6b451a80b3fc89641f33491e9e (diff)
downloadinitscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar
initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar.gz
initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar.bz2
initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar.xz
initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.zip
more initlog changes; wait a little longer for kill -TERM
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network26
1 files changed, 13 insertions, 13 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index f21de187..9b01c324 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -50,10 +50,10 @@ ipv4_forward_set ()
else
if [ "$FORWARD_IPV4" = "no" -o "$FORWARD_IPV4" = "false" ]; then
value=0
- message="Disabling IPv4 packet forwarding."
+ message="Disabling IPv4 packet forwarding"
else
value=1
- message="Enabling IPv4 packet forwarding."
+ message="Enabling IPv4 packet forwarding"
fi
if [ $value != `cat /proc/sys/net/ipv4/ip_forward` ]; then
@@ -95,7 +95,7 @@ case "$1" in
;;
esac
./ifdown ifcfg-lo
- action -n "Disabling IPv4 packet forwarding." echo 0 > /proc/sys/net/ipv4/ip_forward
+ action -n "Disabling IPv4 packet forwarding" echo 0 > /proc/sys/net/ipv4/ip_forward
rm -f /var/lock/subsys/network
;;
status)
@@ -124,34 +124,34 @@ case "$1" in
ipv4_forward_set
fi
for device in $DEV_UP ; do
- ./ifup $device
+ action "Bringing up device $device" ./ifup $device
done
for device in $DEV_DOWN ; do
- ./ifdown $device
+ action "Shutting down device $device" ./ifdown $device
done
for device in $DEV_RECONF ; do
- ./ifdown $device
- ./ifup $device
+ action "Shutting down device $device" ./ifdown $device
+ action "Bringing up device $device" ./ifup $device
done
for device in $DEV_RECONF_ALIASES ; do
- /etc/sysconfig/network-scripts/ifup-aliases $device
+ action "Briging up alias $device" /etc/sysconfig/network-scripts/ifup-aliases $device
done
for device in $DEV_RECONF_ROUTES ; do
- /etc/sysconfig/network-scripts/ifup-routes $device
+ action "Bringing up route $device" /etc/sysconfig/network-scripts/ifup-routes $device
done
case $IPX in yes|true)
case $IPXINTERNALNET in
reconf)
- /sbin/ipx_internal_net del
- /sbin/ipx_internal_net add $IPXINTERNALNETNUM \
+ action "Deleting internal IPX network" /sbin/ipx_internal_net del
+ action "Adding internal IPX network $IPXINTERNALNETNUM $IPXINTERNALNODENUM" /sbin/ipx_internal_net add $IPXINTERNALNETNUM \
$IPXINTERNALNODENUM
;;
add)
- /sbin/ipx_internal_net add $IPXINTERNALNETNUM \
+ action "Adding internal IPX network $IPXINTERNALNETNUM $IPXINTERNALNODENUM"/sbin/ipx_internal_net add $IPXINTERNALNETNUM \
$IPXINTERNALNODENUM
;;
del)
- /sbin/ipx_internal_net del
+ action "Deleting internal IPX network" /sbin/ipx_internal_net del
;;
esac
;;