diff options
author | maximilian attems <max@stro.at> | 2007-11-28 19:45:02 +0100 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2007-11-28 19:45:02 +0100 |
commit | bcb1a3ef0c165bb80838415ea484babe10081dc1 (patch) | |
tree | 414b5f8629b5ec77ecb5764417c18606fefd2b02 /init | |
parent | 3e65988cf97c7d9a07970dd87595d315ee47df7f (diff) | |
download | initramfs-tools-bcb1a3ef0c165bb80838415ea484babe10081dc1.tar.gz initramfs-tools-bcb1a3ef0c165bb80838415ea484babe10081dc1.zip |
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 <lange@informatik.uni-koeln.de> for report!
Diffstat (limited to 'init')
-rwxr-xr-x | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ;; |