added axe kernel modules, dropbear, rewrite inittab system, use /dev/mtdblock4 for config

This commit is contained in:
Jaroslav Kysela
2015-03-28 20:33:17 +01:00
parent 4acb001e0a
commit 86243d95c5
11 changed files with 161 additions and 9 deletions

14
fs-add/etc/init.d/network Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
test -r /etc/sysconfig/config && . /etc/sysconfig/config
if test "$IPV4" = "dhcp"; then
exec /sbin/udhcpc -f -S -p /tmp/udhcpc.pid -s /etc/init.d/dhcpc-event
else
ifconfig eth0 $IPV4 netmask $IPV4_NETMASK broadcast $IPV4_BROADCAST
route add default gw $IPV4_GATEWAY
fi
if test -r /etc/sysconfig/resolv.conf; then
ln -s sysconfig/resolv.conf /etc/resolv.conf
fi