diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-08 08:21:32 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-08 08:21:32 +0000 |
commit | d463661b9cedcbbfe7e5fba70a047dbb28f2078a (patch) | |
tree | a61d61dd9c67fc53f42e50f4fd1b6f0706c47ca0 /target/default/target_skeleton | |
parent | 217eec334bc2a42184635c98afa27ff7b4aa7d8c (diff) |
add hackish makfile, so that other developers could build images. anyone shuld clean this up, but I am busy working on kernel stuff. ok @mbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@225 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton')
-rw-r--r-- | target/default/target_skeleton/etc/dnsmasq.conf | 2 | ||||
-rwxr-xr-x | target/default/target_skeleton/etc/init.d/S10boot | 2 | ||||
-rwxr-xr-x | target/default/target_skeleton/etc/preinit | 2 | ||||
-rwxr-xr-x | target/default/target_skeleton/sbin/wifi | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/target/default/target_skeleton/etc/dnsmasq.conf b/target/default/target_skeleton/etc/dnsmasq.conf index 293edc600a..61550717f0 100644 --- a/target/default/target_skeleton/etc/dnsmasq.conf +++ b/target/default/target_skeleton/etc/dnsmasq.conf @@ -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 diff --git a/target/default/target_skeleton/etc/init.d/S10boot b/target/default/target_skeleton/etc/init.d/S10boot index 81379bed4b..aad625f8d3 100755 --- a/target/default/target_skeleton/etc/init.d/S10boot +++ b/target/default/target_skeleton/etc/init.d/S10boot @@ -13,7 +13,7 @@ mkdir -p /var/run } insmod et -insmod wl +insmod wi ifconfig lo 127.0.0.1 up ifconfig eth0 promisc diff --git a/target/default/target_skeleton/etc/preinit b/target/default/target_skeleton/etc/preinit index 6e6a9c998a..95a2da8be0 100755 --- a/target/default/target_skeleton/etc/preinit +++ b/target/default/target_skeleton/etc/preinit @@ -14,7 +14,7 @@ else pivot_root /jffs /jffs/rom mount none /dev -t devfs mount none /proc -t proc - umount rom/proc rom/dev + umount rom/proc fi mount none /tmp -t ramfs exec /sbin/init diff --git a/target/default/target_skeleton/sbin/wifi b/target/default/target_skeleton/sbin/wifi index 6360fff049..a8d413df07 100755 --- a/target/default/target_skeleton/sbin/wifi +++ b/target/default/target_skeleton/sbin/wifi @@ -1,5 +1,5 @@ #!/bin/ash alias debug=${DEBUG:-:} debug "### wifi $1 ###" -if=$(awk 'sub(":","") {print $1}' /proc/net/wireless) +if=$(cat /proc/net/dev | awk -F: '/eth/ {wifi=$1;} END { print wifi}') $DEBUG wlconf $if $1 |