fix remaining issues
This commit is contained in:
parent
f31d8c49af
commit
eaecf528bd
@ -14,7 +14,7 @@ info() { printf "info >> %s\n" "$1"; shell; }
|
|||||||
shell()
|
shell()
|
||||||
{
|
{
|
||||||
# see https://busybox.net/FAQ.html#job_control
|
# see https://busybox.net/FAQ.html#job_control
|
||||||
setsid sh -c "exec sh <> /dev/${console:-console} 2>&1" || sh
|
setsid sh -c "exec sh <> /dev/${console:-tty1} 2>&1" || sh
|
||||||
}
|
}
|
||||||
|
|
||||||
findfs()
|
findfs()
|
||||||
@ -71,9 +71,7 @@ prepare_environment()
|
|||||||
|
|
||||||
trap 'panic "something went wrong"' EXIT
|
trap 'panic "something went wrong"' EXIT
|
||||||
|
|
||||||
if [ "$modules" ]; then
|
[ "$modules" ] && modprobe -a "$modules" 2> /dev/null ||:
|
||||||
modprobe -a "$modules"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
parse_cmdline()
|
parse_cmdline()
|
||||||
@ -116,7 +114,7 @@ setup_devmgr()
|
|||||||
|
|
||||||
[ "$monolith" != 1 ] && {
|
[ "$monolith" != 1 ] && {
|
||||||
set -- $(find /sys -name modalias -type f -exec sort -u {} +)
|
set -- $(find /sys -name modalias -type f -exec sort -u {} +)
|
||||||
modprobe -a "$@" 2> /dev/null
|
modprobe -a "$@" 2> /dev/null ||:
|
||||||
}
|
}
|
||||||
;;
|
;;
|
||||||
mdevd)
|
mdevd)
|
||||||
|
Loading…
Reference in New Issue
Block a user