noreset in a loop
This commit is contained in:
4
san
4
san
@@ -172,8 +172,10 @@ cp -r /nvram/tools /tmp/tools2
|
|||||||
#export APIB_GDBSERVER="/tmp/tools2/strace -f"
|
#export APIB_GDBSERVER="/tmp/tools2/strace -f"
|
||||||
#export APIB_GDBSERVER="/tmp/tools2/gdbserver :5555"
|
#export APIB_GDBSERVER="/tmp/tools2/gdbserver :5555"
|
||||||
export APP_GDBSERVER="/tmp/tools2/gdbserver :5555"
|
export APP_GDBSERVER="/tmp/tools2/gdbserver :5555"
|
||||||
|
#/tmp/tools2/gdbserver :5557 --attach \$(pgrep ZipMountServer)
|
||||||
#no watch dog
|
#no watch dog
|
||||||
export appargs="-nowd"
|
export appargs="-nowd"
|
||||||
|
# sh -c "while true ; do noreset; sleep 5; done"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -334,7 +336,7 @@ if [ $? != 0 ]; then
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/sbin/udhcpc -i eth0 -s /etc/udhcpc.sh
|
/sbin/udhcpc -i eth0 -s /etc/udhcpc.sh
|
||||||
ifconfig
|
ifconfig
|
||||||
noreset
|
sh -c "while true ; do noreset; sleep 5; done" &
|
||||||
source /nvram/san
|
source /nvram/san
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user