} done
echo "done"
-echo -n "fixing ipkg symlinks... "
-for file in $( find /usr/lib/ipkg/info/*list -type l;)
-do {
- rm $file; cp -f /rom/$file $file
-} done
-
touch /tmp/resolv.conf
ln -s /tmp/resolv.conf /etc/resolv.conf
except-interface=vlan1
# enable dhcp (start,end,netmask,leasetime)
-#dhcp-authoritative
+dhcp-authoritative
dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
dhcp-leasefile=/tmp/dhcp.leases
$DEBUG vconfig add $vif $i 2>&-
)
} ||
- { echo -e "# $1 ignored: can't find/create"; false; }
+ { debug "# missing interface '$if' ignored"; false; }
}
fi
${DEBUG:-eval} "udhcpc -i $if ${ip:+-r $ip} -b -p $pidfile &"
;;
- pppoe)
- # handled by /etc/init.d/S50pppoe
- ;;
- none)
+ none|"")
+ # pppoe is handled by /etc/init.d/S50pppoe
;;
*)
- echo "### WARNING $if: $if_proto is not supported"
+ echo "### ifup $type: ignored ${type}_proto=\"$if_proto\" (not supported)"
;;
esac