Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /lib/dracut/modules.d/05busybox//module-setup.sh
#!/bin/bash
# called by dracut
check() {
require_binaries busybox || return 1
return 255
}
# called by dracut
depends() {
return 0
}
# called by dracut
install() {
local _i _path _busybox
local _progs=()
_busybox=$(find_binary busybox)
inst $_busybox /usr/bin/busybox
for _i in $($_busybox --list); do
[[ ${_i} == busybox ]] && continue
_progs+=("${_i}")
done
for _i in "${_progs[@]}"; do
_path=$(find_binary "$_i")
[ -z "$_path" ] && continue
ln_r /usr/bin/busybox $_path
done
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | April 06 2024 13:22:13 | root / root | 0755 | |
| | | | | |
module-setup.sh | 0.557 KB | April 06 2024 13:22:07 | root / root | 0755 | |