mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 13:17:21 +00:00
Imported using git-ubuntu import. Changelog parent: c046fa9fdcbf36b055b539a6ab23257fa1f1ff0e New changelog entries: * Revert symlink changes, that creates build issues, copy updated hook to the desktop-next directory instead
12 lines
342 B
Bash
Executable File
12 lines
342 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
# Boot using systemd and disable quiet boot
|
|
# to see what is happening.
|
|
systemd=/lib/systemd/systemd
|
|
if [ -f /etc/default/grub ]; then
|
|
sed -i \
|
|
-e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \
|
|
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
|
|
/etc/default/grub
|
|
fi
|