diff options
-rwxr-xr-x | script/build-backup-data.sh | 2 | ||||
-rw-r--r-- | script/dump-frlog.sh | 1 | ||||
-rwxr-xr-x | script/factoryreset-verify-result.sh | 2 | ||||
-rw-r--r-- | script/factoryreset-verify.sh | 1 | ||||
-rwxr-xr-x | script/run-factory-reset.sh | 1 |
5 files changed, 5 insertions, 2 deletions
diff --git a/script/build-backup-data.sh b/script/build-backup-data.sh index da67765..2d48f90 100755 --- a/script/build-backup-data.sh +++ b/script/build-backup-data.sh @@ -19,10 +19,10 @@ # +PATH="/usr/bin:/bin:/usr/sbin:/sbin" ## build backup data for factory reset - [ $INSTALL_ROOT ] || INSTALL_ROOT="/" rdir=$INSTALL_ROOT/usr/system/RestoreDir optdir=$INSTALL_ROOT/opt diff --git a/script/dump-frlog.sh b/script/dump-frlog.sh index b3e495d..6fd5a8b 100644 --- a/script/dump-frlog.sh +++ b/script/dump-frlog.sh @@ -1,4 +1,5 @@ #!/bin/sh +PATH="/usr/bin:/bin:/usr/sbin:/sbin" #-------------------------------------- # Factory-reset diff --git a/script/factoryreset-verify-result.sh b/script/factoryreset-verify-result.sh index d482158..551bfba 100755 --- a/script/factoryreset-verify-result.sh +++ b/script/factoryreset-verify-result.sh @@ -19,7 +19,7 @@ # - +PATH="/usr/bin:/bin:/usr/sbin:/sbin" logfile="/opt/var/log/.verify.log" frlog="/opt/.factoryreset.log" diff --git a/script/factoryreset-verify.sh b/script/factoryreset-verify.sh index 3302a21..5cdcc00 100644 --- a/script/factoryreset-verify.sh +++ b/script/factoryreset-verify.sh @@ -17,6 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +PATH="/usr/bin:/bin:/usr/sbin:/sbin" logfile="/tmp/.verify_fail.log" logchecksum="/tmp/verify_checksum.log" diff --git a/script/run-factory-reset.sh b/script/run-factory-reset.sh index 535f499..f08c46f 100755 --- a/script/run-factory-reset.sh +++ b/script/run-factory-reset.sh @@ -17,6 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +PATH="/usr/bin:/bin:/usr/sbin:/sbin" logfile="/opt/.factoryreset.log" logfile1="/opt/.factoryreset.log.1" |