correct PATH in overlay scripts
This commit is contained in:
@@ -6,6 +6,7 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then
|
||||
fi
|
||||
|
||||
. /etc/profile
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
if [ ! -e /boot/diya-config.txt ]; then
|
||||
# prepare env for recovery boot
|
||||
|
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="Auto deployment configuration from media"
|
||||
|
||||
. /etc/profile
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
if [ -z "$DISK" ]; then
|
||||
DISK="mmcblk0"
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#! /bin/sh
|
||||
. /etc/profile
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
if [ -z "$DISK" ]; then
|
||||
DISK="mmcblk0"
|
||||
|
Reference in New Issue
Block a user