/
githubmirror
/
dracut
Обзор
Документация
Войти
/
githubmirror
/
dracut
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
modules.d/80test/module-setup.sh
16 строк
274 B
Laszlo Gombos
test: move poweroff handling from test case to test module
07 ноя 2022, 20:04
07 ноя 2022, 20:04
7f62a9b
Код
Авторство
О чём код?
#!/bin/bash check() { # Only include the module if another module requires it return 255 } depends() { echo "debug" } install() { inst poweroff inst_hook shutdown-emergency 000 "$moddir/hard-off.sh" inst_hook emergency 000 "$moddir/hard-off.sh" }