File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33if [ -e " /livefs-pkgs.txt" -a -n " $( grep ' driver=free' /proc/cmdline) " ]; then
44echo ' #!/bin/sh
5-
6- echo "Disable mhwd-live"' > /usr/bin/mhwd-live
5+ echo "Disable mhwd-live"' > /usr/bin/mhwd-live
76fi
87
98if [ -e " /livefs-pkgs.txt" -a -n " $( grep ' driver=nonfree' /proc/cmdline) " ]; then
109echo ' #!/bin/sh
11-
12- true' > /usr/bin/mkinitcpio
10+ true' > /usr/bin/mkinitcpio
1311fi
1412
1513# Enable ssh if cmdline have sshenable
Original file line number Diff line number Diff line change 11[Unit]
2- Description =disable mhwd if opensource driver
2+ Description =Tweaks to better livecd usage
33Before =mhwd-live.service
44
55[Service]
6- ExecStart =/usr/bin/mhwd-fix
6+ ExecStart =/usr/bin/livecd-tweaks
77Type =oneshot
88RemainAfterExit =true
99
Original file line number Diff line number Diff line change 11post_install() {
2- systemctl enable mhwd-fix .service
2+ systemctl enable livecd-tweaks .service
33}
You can’t perform that action at this time.
0 commit comments