aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 01f12d2..b9f8296 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -22,6 +22,10 @@ if [ "$PREVLEVEL" = "2" ]; then
# Shutdown network
stat_busy "Shutting Down Network"
+ /sbin/ifconfig lo down
+ if [ "$IPADDR" != "" -a "$NETMASK" != "" ]; then
+ /sbin/ifconfig eth0 down
+ fi
stat_done
# Shutdown pcmcia