From bcb1a3ef0c165bb80838415ea484babe10081dc1 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Wed, 28 Nov 2007 19:45:02 +0100 Subject: init: Don't overwrite boot cmdline arg (closes: #453294) root nfs needs to check that the boot is not set before setting it. Thanks Thomas Lange for report! --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index 52e3f45..607d2c7 100755 --- a/init +++ b/init @@ -67,7 +67,7 @@ for x in $(cat /proc/cmdline); do ROOT="/dev/disk/by-uuid/${ROOT#UUID=}" ;; /dev/nfs) - BOOT=nfs + [ -z "${BOOT}" ] && BOOT=nfs ;; esac ;; -- cgit v1.2.3