aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2002-03-09 10:07:16 +0000
committerJudd Vinet <judd@archlinux.org>2002-03-09 10:07:16 +0000
commit325b46a6b02aee695658eafe6b714d0e02810e1a (patch)
tree4c5fb1bdc143d937cb92e50a5fd768874105afed /rc.shutdown
parent897380f9b8071b8df0dcdb85cc9e1424640762b9 (diff)
downloadinitscripts-325b46a6b02aee695658eafe6b714d0e02810e1a.tar.xz
Added some rudimentary networking stuff
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