1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

inital commit of 20040316

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm
2004-03-28 00:20:21 +00:00
parent 9c90ba9795
commit a91ebb0ed7
15 changed files with 1553 additions and 0 deletions

27
root/etc/rcS Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/sh
export TZ=$(nvram get tz)
insmod diag
echo "0x01" > /proc/sys/diag
echo "3" >/proc/sys/kernel/panic
# networking
insmod et
insmod wl
ifconfig lo 127.0.0.1 up
# eth0 and eth1 are shared, must set eth0 as promisc
ifconfig eth0 promisc
ifconfig eth1 promisc
/etc/networking.sh
# now lets set up a basic set of rules to do ip masquerade
/etc/firewall.sh
# now lets start some basic services
/usr/sbin/telnetd
/usr/sbin/httpd -p 80 -h /www -r WRT54G Router
/usr/sbin/udhcpd /etc/udhcpd.conf