From: Hannes Reinecke Date: Thu, 10 Jul 2014 12:55:50 +0000 (+0200) Subject: 91zipl: Store commandline correctly X-Git-Tag: 047~34^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73f89bbadbd61ffb4cb485e11b630571185b7ef2;p=thirdparty%2Fdracut.git 91zipl: Store commandline correctly The 'rd.zipl' command was only printed and never stored in the initramfs itself. Signed-off-by: Hannes Reinecke --- diff --git a/modules.d/91zipl/module-setup.sh b/modules.d/91zipl/module-setup.sh index 07a2e6bd6..c65b9b1c1 100755 --- a/modules.d/91zipl/module-setup.sh +++ b/modules.d/91zipl/module-setup.sh @@ -42,7 +42,7 @@ install() { if [[ $hostonly_cmdline == "yes" ]] ; then local _zipl=$(cmdline) - [[ $_zipl ]] && printf "%s\n" "$_zipl" + [[ $_zipl ]] && printf "%s\n" "$_zipl" > "${initdir}/etc/cmdline.d/91zipl.conf" fi dracut_need_initqueue }