Files
bootvine/packaging/dracut/90boot-tree/module-setup.sh
T

20 lines
368 B
Bash
Executable File

#!/usr/bin/bash
check() {
require_binaries boot-tree || return 1
return 255
}
depends() {
echo systemd
}
install() {
inst_binary boot-tree
inst_simple "$systemdsystemunitdir/boot-tree.service"
if [[ -f /etc/boot-tree.toml ]]; then
inst_simple /etc/boot-tree.toml
fi
$SYSTEMCTL -q --root "$initdir" enable boot-tree.service
}