summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-12-14 22:30:15 -0600
committerMike Westerhof <mwester@dls.net>2008-12-14 22:30:15 -0600
commit28700d6c92af86f9ace1a80dcc550db757519294 (patch)
treec03a901c57557f342efe5d35930d0235feae43b4 /packages
parent1549320315a64dd1016c40f1d2dcc36b28275fd9 (diff)
SlugOS: leds - fix the extraneous error message if no beeper correctly.
Diffstat (limited to 'packages')
-rw-r--r--packages/slugos-init/files/leds2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/slugos-init/files/leds b/packages/slugos-init/files/leds
index 3a0333bcb8..b40d5d874e 100644
--- a/packages/slugos-init/files/leds
+++ b/packages/slugos-init/files/leds
@@ -185,7 +185,7 @@ beep(){
test "$1" = beep && shift
if test -x /bin/beep
then
- devices=`ls -d /sys/class/input/event* 2>&1`
+ devices=`ls -d /sys/class/input/event* 2>/dev/null`
for device in $devices
do
module=`egrep PHYSDEVDRIVER $device'/uevent' | cut -d '=' -f 2`