13 |
yes|y|true|1) use_sudo=sudo ;; |
yes|y|true|1) use_sudo=sudo ;; |
14 |
esac |
esac |
15 |
|
|
16 |
${use_sudo} /usr/sbin/hwinfo $@ |
${use_sudo} @@SBINDIR@@/hwinfo $@ |
17 |
} |
} |
18 |
|
|
19 |
# get_hwinfo $hw_item |
# get_hwinfo $hw_item |
247 |
local modules |
local modules |
248 |
# enabled framebuffer modules as default |
# enabled framebuffer modules as default |
249 |
local framebuffer=1 |
local framebuffer=1 |
250 |
local uvesafb_config="/etc/modprobe.d/uvesafb.conf" |
local uvesafb_config="@@SYSCONFDIR@@/modprobe.d/uvesafb.conf" |
251 |
|
|
252 |
# very basic getops |
# very basic getops |
253 |
for i in $* |
for i in $* |
263 |
|
|
264 |
[[ -z ${initrd} ]] && initrd="/boot/initrd-$(uname -r).img" |
[[ -z ${initrd} ]] && initrd="/boot/initrd-$(uname -r).img" |
265 |
[[ -z ${kernel} ]] && kernel="$(uname -r)" |
[[ -z ${kernel} ]] && kernel="$(uname -r)" |
266 |
[[ -z ${config} ]] && config="/etc/conf.d/mkinitrd" |
[[ -z ${config} ]] && config="@@CONFDDIR@@/mkinitrd" |
267 |
|
|
268 |
if [[ ! -z ${INSTALL_ROOT} ]] |
if [[ ! -z ${INSTALL_ROOT} ]] |
269 |
then |
then |