/
githubmirror
/
dracut
Обзор
Документация
Войти
/
githubmirror
/
dracut
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
040
modules.d/02caps/module-setup.sh
23 строки
465 B
Harald Hoyer
remove all vim and emacs code format comments
29 авг 2014, 15:38
29 авг 2014, 15:38
967cc19
Код
Авторство
О чём код?
#!/bin/bash # called by dracut check() { require_binaries capsh } # called by dracut depends() { return 0 } # called by dracut install() { if ! dracut_module_included "systemd"; then inst_hook pre-pivot 00 "$moddir/caps.sh" inst $(type -P capsh 2>/dev/null) /usr/sbin/capsh # capsh wants bash and we need bash also inst /bin/bash else dwarning "caps: does not work with systemd in the initramfs" fi }