diff options
author | Judd Vinet <judd@archlinux.org> | 2002-03-09 10:07:16 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2002-03-09 10:07:16 +0000 |
commit | 325b46a6b02aee695658eafe6b714d0e02810e1a (patch) | |
tree | 4c5fb1bdc143d937cb92e50a5fd768874105afed /rc.multi | |
parent | 897380f9b8071b8df0dcdb85cc9e1424640762b9 (diff) | |
download | initscripts-325b46a6b02aee695658eafe6b714d0e02810e1a.tar.xz |
Added some rudimentary networking stuff
Diffstat (limited to 'rc.multi')
-rwxr-xr-x | rc.multi | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -12,6 +12,13 @@ if [ "$PCMCIA" = "yes" -a -f /etc/rc.d/pcmcia ]; then fi stat_busy "Starting Network" +/sbin/ifconfig lo 127.0.0.1 netmask 255.255.255.255 +if [ "$IPADDR" != "" -a "$NETMASK" != "" ]; then + /sbin/ifconfig eth0 $IPADDR netmask $NETMASK + if [ "$GATEWAY" != "" ]; then + /sbin/route add default gw $GATEWAY + fi +fi stat_done # Start daemons |