summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/boot
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-30 00:16:23 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-30 00:16:23 +0000
commitea748f84046d22252abe8a5a6d160a73bcb2e92f (patch)
treef07ff4a84b1530dd7cafc12f98f6ff6885108045 /packages/slugos-init/files/boot
parentad744e7896ccb0b83a8ff0ca30dc4ef7a776e105 (diff)
slugos-init: update to use 'beep' in 0.10
- boot scripts now use the new beep arguments
Diffstat (limited to 'packages/slugos-init/files/boot')
-rw-r--r--packages/slugos-init/files/boot/disk1
-rw-r--r--packages/slugos-init/files/boot/flash2
-rw-r--r--packages/slugos-init/files/boot/nfs6
-rw-r--r--packages/slugos-init/files/boot/ram3
4 files changed, 8 insertions, 4 deletions
diff --git a/packages/slugos-init/files/boot/disk b/packages/slugos-init/files/boot/disk
index e8d1f5245b..f603d0f711 100644
--- a/packages/slugos-init/files/boot/disk
+++ b/packages/slugos-init/files/boot/disk
@@ -46,4 +46,5 @@ then
fi
fi
# fallback - use the flash boot
+leds beep -f 1000 -r 2
exec /boot/flash
diff --git a/packages/slugos-init/files/boot/flash b/packages/slugos-init/files/boot/flash
index 12729d7b5d..37a1055763 100644
--- a/packages/slugos-init/files/boot/flash
+++ b/packages/slugos-init/files/boot/flash
@@ -2,8 +2,8 @@
# boot from the current (flash) root partition
# nothing need be done apart from setting the
# system LED status correctly
-. /etc/default/functions
leds beep
+. /etc/default/functions
leds boot system
test -x /sbin/init && exec /sbin/init
# fallback if /sbin/init has been deleted (bad!)
diff --git a/packages/slugos-init/files/boot/nfs b/packages/slugos-init/files/boot/nfs
index 5f1cbbe323..856f4e56b9 100644
--- a/packages/slugos-init/files/boot/nfs
+++ b/packages/slugos-init/files/boot/nfs
@@ -3,11 +3,12 @@
# must be given) using options from the rest of
# the command line.
#
+# Use the standard init path (see /etc/init.d/rcS)
+export PATH=/sbin:/bin:/usr/sbin:/usr/bin
+#
. /etc/default/functions
leds boot system
#
-# Use the standard init path (see /etc/init.d/rcS)
-export PATH=/sbin:/bin:/usr/sbin:/usr/bin
if /boot/network
then
# network is up and running, the NFS mount will
@@ -15,4 +16,5 @@ then
exec /boot/disk "$@"
fi
# fallback - use the flash boot
+leds beep -f 1000 -r 2
exec /boot/flash
diff --git a/packages/slugos-init/files/boot/ram b/packages/slugos-init/files/boot/ram
index 42ff8329f9..a7c78b39ac 100644
--- a/packages/slugos-init/files/boot/ram
+++ b/packages/slugos-init/files/boot/ram
@@ -9,7 +9,7 @@ export PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Load the helper functions
. /etc/default/functions
#
-leds beep double
+leds beep -r 2
leds boot system
#
if test -n "$1"
@@ -45,4 +45,5 @@ then
fi
fi
# fallback - use the flash boot
+leds beep -f 1000 -r 2
exec /boot/flash