mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ mkdir -p /var/run
|
||||
}
|
||||
|
||||
insmod et
|
||||
insmod wl
|
||||
insmod wi
|
||||
|
||||
ifconfig lo 127.0.0.1 up
|
||||
ifconfig eth0 promisc
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user