aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.multi b/rc.multi
index c3c48d8..0e8629f 100755
--- a/rc.multi
+++ b/rc.multi
@@ -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