+++ /dev/null
-#!/bin/sh
-getargbool 0 rd.shell || poweroff -f
-getargbool 0 failme && poweroff -f
# shellcheck disable=SC1090
. "$PKGLIBDIR"/dracut-init.sh
inst_multiple poweroff shutdown
- inst_hook shutdown-emergency 000 ./hard-off.sh
- inst_hook emergency 000 ./hard-off.sh
inst_simple ./client.link /etc/systemd/network/01-client.link
)
+++ /dev/null
-#!/bin/sh
-getargbool 0 rd.shell || poweroff -f
-getargbool 0 failme && poweroff -f
# shellcheck disable=SC1090
. "$PKGLIBDIR"/dracut-init.sh
inst_multiple poweroff shutdown
- inst_hook shutdown-emergency 000 ./hard-off.sh
- inst_hook emergency 000 ./hard-off.sh
inst_simple ./client-persistent-lan0.link /etc/systemd/network/01-persistent-lan0.link
inst_simple ./client-persistent-lan1.link /etc/systemd/network/01-persistent-lan1.link
inst_simple ./client-persistent-lan2.link /etc/systemd/network/01-persistent-lan2.link
+++ /dev/null
-#!/bin/sh
-getarg rd.shell || poweroff -f
-getarg failme && poweroff -f
# shellcheck disable=SC1090
. "$PKGLIBDIR"/dracut-init.sh
inst_multiple poweroff shutdown
- inst_hook emergency 000 ./hard-off.sh
inst_simple ./client.link /etc/systemd/network/01-client.link
)
# Make client's dracut image
+++ /dev/null
-#!/bin/sh
-getargbool 0 rd.shell || poweroff -f
-! getargbool 0 rd.break && getargbool 0 failme && poweroff -f
virtio_pci \
virtio_scsi
}
-
-install() {
- inst_hook shutdown-emergency 000 "$moddir/hard-off.sh"
- inst_hook emergency 000 "$moddir/hard-off.sh"
-}