shift
done
+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
+
[[ $debug ]] && {
export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): ';
set -x
## final stuff that has to happen
# generate module dependencies for the initrd
-if ! /sbin/depmod -a -b "$initdir" $kernel; then
- echo "\"/sbin/depmod -a $kernel\" failed."
+if ! depmod -a -b "$initdir" $kernel; then
+ echo "\"depmod -a $kernel\" failed."
exit 1
fi
fi
inst_simple "$modpath"
done
- for fw in $(/sbin/modinfo -F firmware $mod 2>/dev/null); do
+ for fw in $(modinfo -F firmware $mod 2>/dev/null); do
if [[ -f /lib/firmware/$fw ]]; then
inst_simple "/lib/firmware/$fw"
else