mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 13:17:21 +00:00
Imported using git-ubuntu import. Changelog parent: 4b23d3370bf92ee0122fa50410bba8cbe5b9ca16 New changelog entries: * Revert part of the last change to ship the systemd hook as .chroot and not .binary since it doesn't appear to be running properly as a binary hook.
10 lines
321 B
Bash
Executable File
10 lines
321 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
# Boot using systemd and disable quiet boot
|
|
# to see what is happening.
|
|
systemd=/lib/systemd/systemd
|
|
[ -f /etc/default/grub ] && sed -i \
|
|
-e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \
|
|
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
|
|
/etc/default/grub
|