test "$cd" != "yes" && test -f $LOCALRC && mv $LOCALRC "$LOCALRC~" &&
test "$v" = 1 && echo "Backed up $LOCALRC to $LOCALRC~"
-echo "eth0 $driver 0 { default; } ;" > $INETCONF
+if [ "$driver" = "psip0" ]; then
+ echo "psip0 { default; } ;" > $INETCONF
+else
+ echo "eth0 $driver 0 { default; } ;" > $INETCONF
+fi
echo "$driverargs" > $LOCALRC
if [ -n "$manual" ]
else
# Standard network daemons.
echo -n "Starting networking:"
- if grep -s 'psip0.*default' /etc/inet.conf
+ if grep -s 'psip0.*default' /etc/inet.conf >/dev/null
then ifconfig -h 10.0.0.1
else
daemonize dhcpd