AlkantarClanX12

Your IP : 3.15.228.162


Current Path : /proc/thread-self/root/proc/thread-self/root/usr/lib/dracut/modules.d/00bash/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/usr/lib/dracut/modules.d/00bash/module-setup.sh

#!/bin/bash

# called by dracut
check() {
    require_binaries /bin/bash
}

# called by dracut
depends() {
    return 0
}

# called by dracut
install() {
    # If another shell is already installed, do not use bash
    [[ -x $initdir/bin/sh ]] && return

    # Prefer bash as /bin/sh if it is available.
    inst /bin/bash && ln -sf bash "${initdir}/bin/sh"
}