various cosmetic fixes
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 May 2005 00:40:07 +0000 (00:40 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 May 2005 00:40:07 +0000 (00:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@864 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/target/default/target_skeleton/bin/firstboot
openwrt/target/default/target_skeleton/etc/dnsmasq.conf
openwrt/target/default/target_skeleton/etc/functions.sh
openwrt/target/default/target_skeleton/sbin/ifup

index 8bb0b3e..2e7481d 100755 (executable)
@@ -45,12 +45,6 @@ do {
 } 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
 
index 6155071..293edc6 100644 (file)
@@ -11,7 +11,7 @@ domain=lan
 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
 
index 75500a2..48f1191 100755 (executable)
@@ -29,5 +29,5 @@ if_valid () {
       $DEBUG vconfig add $vif $i 2>&-
     )
   } ||
-  { echo -e "# $1 ignored: can't find/create"; false; }
+  { debug "# missing interface '$if' ignored"; false; }
 }
index 4236de0..f3230ba 100755 (executable)
       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
This page took 0.039636 seconds and 4 git commands to generate.