summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/functions
diff options
context:
space:
mode:
Diffstat (limited to 'packages/slugos-init/files/functions')
-rw-r--r--packages/slugos-init/files/functions6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/slugos-init/files/functions b/packages/slugos-init/files/functions
index d7e5c9905a..d631579966 100644
--- a/packages/slugos-init/files/functions
+++ b/packages/slugos-init/files/functions
@@ -155,9 +155,8 @@ checkif(){
# boot with this as root. Returns success if it appears ok.
checkmount(){
# basic test for init (the kernel will try to load this)
- # but require a shell in bin/sh and no .recovery too
- test \( ! -f "$1/.recovery" \) -a \
- \( -d "$1/mnt" \) -a \
+ # but require a shell in bin/sh too
+ test \( -d "$1/mnt" \) -a \
\( -x "$1/bin/sh" -o -h "$1/bin/sh" \) -a \
\( -x "$1/usr/sbin/chroot" -o -h "$1/usr/sbin/chroot" -o \
-x "$1/sbin/chroot" -o -h "$1/sbin/chroot" \) -a \
@@ -218,7 +217,6 @@ swivel(){
echo -n 80 >/mnt/class/leds/ready/frequency
echo -n 80 >/mnt/class/leds/status/frequency
umount /mnt
- sleep 10 >/.recovery
sync;sync;sync
exit 1"
fi