added ipkg.conf
[openwrt.git] / root / etc / rcS
1 #!/bin/sh
2
3 export TZ=$(nvram get tz)
4
5 insmod diag
6 echo "0x01" > /proc/sys/diag
7 echo "3" >/proc/sys/kernel/panic
8
9 # networking
10 insmod et
11 insmod wl
12
13 ifconfig lo 127.0.0.1 up
14
15 # eth0 and eth1 are shared, must set eth0 as promisc
16 ifconfig eth0 promisc
17 ifconfig eth1 promisc
18 /etc/networking.sh
19
20 # now lets set up a basic set of rules to do ip masquerade
21 /etc/firewall.sh
22
23 # now lets start some basic services
24 /usr/sbin/telnetd
25 /usr/sbin/httpd -p 80 -h /www -r WRT54G Router
26 /usr/sbin/udhcpd /etc/udhcpd.conf
27
This page took 0.038608 seconds and 5 git commands to generate.