projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
32a0072
)
various cosmetic fixes
author
Mike Baker
<mbm@openwrt.org>
Fri, 13 May 2005 00:40:07 +0000
(
00:40
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Fri, 13 May 2005 00:40:07 +0000
(
00:40
+0000)
SVN-Revision: 864
openwrt/target/default/target_skeleton/bin/firstboot
patch
|
blob
|
history
openwrt/target/default/target_skeleton/etc/dnsmasq.conf
patch
|
blob
|
history
openwrt/target/default/target_skeleton/etc/functions.sh
patch
|
blob
|
history
openwrt/target/default/target_skeleton/sbin/ifup
patch
|
blob
|
history
diff --git
a/openwrt/target/default/target_skeleton/bin/firstboot
b/openwrt/target/default/target_skeleton/bin/firstboot
index 8bb0b3efa41f5689f48e5fb4824c3118fd72e6c8..2e7481db8105ea306f07d704d85b61628278689b 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/bin/firstboot
+++ b/
openwrt/target/default/target_skeleton/bin/firstboot
@@
-45,12
+45,6
@@
do {
} done
echo "done"
} 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
touch /tmp/resolv.conf
ln -s /tmp/resolv.conf /etc/resolv.conf
diff --git
a/openwrt/target/default/target_skeleton/etc/dnsmasq.conf
b/openwrt/target/default/target_skeleton/etc/dnsmasq.conf
index 61550717f0de55d266c1fd0a8a98977e86022d80..293edc600ae0cadd4a9b7a27c812842d983b9178 100644
(file)
--- a/
openwrt/target/default/target_skeleton/etc/dnsmasq.conf
+++ b/
openwrt/target/default/target_skeleton/etc/dnsmasq.conf
@@
-11,7
+11,7
@@
domain=lan
except-interface=vlan1
# enable dhcp (start,end,netmask,leasetime)
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
dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
dhcp-leasefile=/tmp/dhcp.leases
diff --git
a/openwrt/target/default/target_skeleton/etc/functions.sh
b/openwrt/target/default/target_skeleton/etc/functions.sh
index 75500a2aab11c692f9d84ce39f3fbdc4276299fa..48f1191cc46f754b0a0b7458a02602bd5a23c4fe 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/etc/functions.sh
+++ b/
openwrt/target/default/target_skeleton/etc/functions.sh
@@
-29,5
+29,5
@@
if_valid () {
$DEBUG vconfig add $vif $i 2>&-
)
} ||
$DEBUG vconfig add $vif $i 2>&-
)
} ||
- {
echo -e "# $1 ignored: can't find/create
"; false; }
+ {
debug "# missing interface '$if' ignored
"; false; }
}
}
diff --git
a/openwrt/target/default/target_skeleton/sbin/ifup
b/openwrt/target/default/target_skeleton/sbin/ifup
index 4236de06b6cdd9c385f771c99758772bdb9fea3b..f3230ba410a5cca8b9657f3b7a0ce5cb4d7f68ac 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/sbin/ifup
+++ b/
openwrt/target/default/target_skeleton/sbin/ifup
@@
-52,12
+52,10
@@
fi
${DEBUG:-eval} "udhcpc -i $if ${ip:+-r $ip} -b -p $pidfile &"
;;
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
;;
esac