From ae7e5021b8e48f8714768834a9b6f5af32d6e2fc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 May 2014 20:24:15 +0200 Subject: minor fixes for nfsroot bootup --- package/base-files/src/etc/mdev/fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/base-files/src/etc/mdev') 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 ;; -- cgit v1.2.3