#!/bin/sh
syslogd -C 16
klogd
-${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
+if [ "$FAILSAFE" = "true" ];then
+ insmod $(head -1 /etc/modules)
+ ifconfig lo 127.0.0.1 up
+ ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
+ telnetd -l /bin/login
+ exit
+fi
for i in /etc/init.d/S*; do
$i start 2>&1
#!/bin/sh
+[ "$(/usr/sbin/nvram get boot_wait)" != "on" ] && {
+ /usr/sbin/nvram set boot_wait=on
+ /usr/sbin/nvram commit
+}
mount none /proc -t proc
insmod diag
echo 0x01 > /proc/sys/diag
#define TRX_MAGIC 0x30524448 /* "HDR0" */
#define TRX_VERSION 1
-#define TRX_MAX_LEN 0x3A0000
+#define TRX_MAX_LEN 0x5A0000
#define TRX_NO_HEADER 1 /* Do not write TRX header */
struct trx_header {