/
githubmirror
/
dracut
Обзор
Документация
Войти
/
githubmirror
/
dracut
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
037
modules.d/00dash/module-setup.sh
22 строки
471 B
Harald Hoyer
Factor out all the "type -V" commands
06 фев 2014, 19:45
06 фев 2014, 19:45
30e6e80
Код
Авторство
О чём код?
#!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # called by dracut check() { require_binaries /bin/dash } # called by dracut depends() { return 0 } # called by dracut install() { # If another shell is already installed, do not use dash [[ -x $initdir/bin/sh ]] && return # Prefer dash as /bin/sh if it is available. inst /bin/dash && ln -sf dash "${initdir}/bin/sh" }