diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 20:24:15 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 20:24:15 +0200 |
commit | ae7e5021b8e48f8714768834a9b6f5af32d6e2fc (patch) | |
tree | 445057672172b868c62320133e952a779f197b4f /package/base-files/src/etc | |
parent | e1d61726d41161ca7fefac0cbe88b7519c3ca5eb (diff) |
minor fixes for nfsroot bootup
Diffstat (limited to 'package/base-files/src/etc')
-rwxr-xr-x | package/base-files/src/etc/mdev/fs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/src/etc/mdev/fs b/package/base-files/src/etc/mdev/fs index cbb031453..7a305d9d6 100755 --- a/package/base-files/src/etc/mdev/fs +++ b/package/base-files/src/etc/mdev/fs @@ -1,7 +1,7 @@ #!/bin/sh # skip root disk here, will be handled in /etc/init.d/fs rootdisk=$(readlink /dev/root) -if [ ${rootdisk} = ${MDEV} ];then +if [ "x${rootdisk}" = "x${MDEV}" ];then exit 0 fi uuid=$(blkid /dev/${MDEV} | sed -n '/^.*UUID="\([^"]*\)".*$/s//\1/p') @@ -15,7 +15,7 @@ else disk="${MDEV} (${uuid})" fi if [ -z $fs ];then - logger -s "Disk $disk not registered in /etc/fstab" + logger "Disk $disk not registered in /etc/fstab" exit 0 fi @@ -49,7 +49,7 @@ adk_mount() { case "${ACTION}" in add) - logger -s "Device ${MDEV} added to the system" + logger "Device ${MDEV} added to the system" adk_fsck adk_mount ;; |