diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-05-05 12:01:56 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-05-05 12:01:56 +0000 |
commit | c8050de52398aaa728ce127225fd2927988e034c (patch) | |
tree | b927d04d3d9434610b651167748bb64018aa2a94 | |
parent | a287d24489385e7f2335b0628f2899c51e61c9c5 (diff) | |
download | mtk-20170518-c8050de52398aaa728ce127225fd2927988e034c.zip mtk-20170518-c8050de52398aaa728ce127225fd2927988e034c.tar.gz mtk-20170518-c8050de52398aaa728ce127225fd2927988e034c.tar.bz2 |
use full path
SVN-Revision: 807
-rwxr-xr-x | openwrt/target/default/target_skeleton/etc/preinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/preinit b/openwrt/target/default/target_skeleton/etc/preinit index 5869f61..7a02e31 100755 --- a/openwrt/target/default/target_skeleton/etc/preinit +++ b/openwrt/target/default/target_skeleton/etc/preinit @@ -3,7 +3,7 @@ mount none /proc -t proc insmod diag echo 0x01 > /proc/sys/diag sleep 1 -if [ $(cat /proc/sys/reset) = 1 ] || [ "$(nvram get failsafe)" = 1 ]; then +if [ $(cat /proc/sys/reset) = 1 ] || [ "$(/usr/sbin/nvram get failsafe)" = 1 ]; then export FAILSAFE=true while :; do { echo $(((X=(X+1)%8)%2)) > /proc/sys/diag; sleep $((X==0)); } done & fi |