mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-07 08:13:37 +00:00
* More haste, less speed:
- Perform in-place edit. - Allow variable expansion.
This commit is contained in:
parent
e4719c1cfc
commit
6627b99d73
@ -3,7 +3,7 @@
|
||||
# Boot using systemd and disable quiet boot
|
||||
# to see what is happening.
|
||||
systemd=/lib/systemd/systemd
|
||||
sed \
|
||||
-e 's,^\([ ]*GRUB_CMDLINE_LINUX\)=""$,\1="init=$systemd",g' \
|
||||
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
|
||||
sed -i \
|
||||
-e "s,^\([ ]*GRUB_CMDLINE_LINUX\)=\"\"$,\1=\"init=$systemd\",g" \
|
||||
-e "s,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)=\"quiet splash\",\1=\"\",g" \
|
||||
/etc/default/grub
|
||||
|
Loading…
x
Reference in New Issue
Block a user