summaryrefslogtreecommitdiff
path: root/recipes/slugos-init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/slugos-init')
-rw-r--r--recipes/slugos-init/files/leds5
-rw-r--r--recipes/slugos-init/slugos-init_5.0.bb2
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes/slugos-init/files/leds b/recipes/slugos-init/files/leds
index 68f0c23a98..b1f6e126b4 100644
--- a/recipes/slugos-init/files/leds
+++ b/recipes/slugos-init/files/leds
@@ -198,6 +198,11 @@ beep(){
break
fi
done
+ # If udev hasn't run, then /dev/input doesn't exist, so
+ # fallback to /dev/buzzer if possible.
+ if test -e /dev/buzzer -a ! -d /dev/input; then
+ arg="-e /dev/buzzer"
+ fi
/bin/beep $arg "$@" 2>/dev/null
fi
return 0
diff --git a/recipes/slugos-init/slugos-init_5.0.bb b/recipes/slugos-init/slugos-init_5.0.bb
index beeaa34135..bf3bb6fee8 100644
--- a/recipes/slugos-init/slugos-init_5.0.bb
+++ b/recipes/slugos-init/slugos-init_5.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r10"
+PR = "r11"
SRC_URI = "file://boot/flash \
file://boot/disk \