Merge pull request #116 from evverx/fix-ask-cmdline-hostonly=0
base/init.sh: don't remove 99-cmdline-ask on 'hostonly' cleanupmaster
commit
4d3e54e01a
|
|
@ -120,7 +120,9 @@ if getarg "rd.cmdline=ask"; then
|
|||
fi
|
||||
|
||||
if ! getargbool 1 'rd.hostonly'; then
|
||||
[ -f /etc/cmdline.d/99-cmdline-ask.conf ] && mv /etc/cmdline.d/99-cmdline-ask.conf /tmp/99-cmdline-ask.conf
|
||||
remove_hostonly_files
|
||||
[ -f /tmp/99-cmdline-ask.conf ] && mv /tmp/99-cmdline-ask.conf /etc/cmdline.d/99-cmdline-ask.conf
|
||||
fi
|
||||
|
||||
# run scriptlets to parse the command line
|
||||
|
|
|
|||
Loading…
Reference in New Issue