summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/boot
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2006-01-21 19:23:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-21 19:23:31 +0000
commit6ca2b30e1bd7b636f856725300c1d44fe1b56381 (patch)
treeea2949bee600954c1ddb9f6ffe7e90be2411fc78 /packages/slugos-init/files/boot
parentec31c75e94546c0ede50107715ade3920516834f (diff)
disapproval of revision '0b95bcbd94eecc35400e4a1a8af33317d5f8b411'
Diffstat (limited to 'packages/slugos-init/files/boot')
-rwxr-xr-xpackages/slugos-init/files/boot/disk6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/slugos-init/files/boot/disk b/packages/slugos-init/files/boot/disk
index 37505f8924..ede33a3ee6 100755
--- a/packages/slugos-init/files/boot/disk
+++ b/packages/slugos-init/files/boot/disk
@@ -13,9 +13,9 @@ export PATH=/sbin:/bin:/usr/sbin:/usr/bin
#
if test -n "$1"
then
- label="$1"
+ device="$1"
shift
- echo "boot: rootfs: mount $* $label"
+ echo "boot: rootfs: mount $* $device"
#
# wait if required
test "$sleep" -gt 0 && sleep "$sleep"
@@ -23,7 +23,7 @@ then
# Mount read-write because before exec'ing init
# this script creates the '.recovery' link to
# detect failed boot. No file type is given to
- if mount "$@" -L "$label" /mnt
+ if mount "$@" "$device" /mnt
then
# checkmount checks for sh, init and no
# .recovery plus either mnt or initrd