noreset in a loop

This commit is contained in:
2022-05-09 12:16:28 +01:00
parent 01f327e7e0
commit 5a84463156

4
san
View File

@@ -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