[Eisfair] Update Base 2.7.7 online
Benjamin Heide
benjamin.heide at freenet.de
Mi Okt 5 23:18:15 CEST 2016
Hi Holger,
habe es oben in das File eingetragen.
...
#------------------------------------------------------------------------------
# include eislib
. /var/install/include/eislib
myecho ()
{
if [ "${quiet}" != "-quiet" ]
then
mecho ${@}
fi
}
#---------------------------------------------------------------------------
# create devices, before udev work
#---------------------------------------------------------------------------
mknod_safe()
{
if [ -c $1 ]
then
return
fi
/usr/bin/mknod -m 0644 "${@}"
}
create_devices()
{
BASE_DIR='/dev'
for i in $( seq 15 )
do
mknod_safe ${BASE_DIR}/ttyI${i} c 43 ${i}
done
}
#------------------------------------------------------------------------------
# function: check status of call usage
#
# return: 0 - call function enabled
# 1 - call function disabled
#------------------------------------------------------------------------------
vbox_call_enabled ()
{
...
aber wohin genau soll
create_devices
hier mit rein?
...
#------------------------------------------------------------------------------
# start vbox
#------------------------------------------------------------------------------
vbox_start ()
{
if [ "${START_VBOX}" = "yes" ]
then
myecho "starting vbox ..."
/var/install/config.d/vbox.sh add_inittab
/var/install/config.d/vbox.sh add_xinetd
fi
}
...
oder hier?
...
case ${cmd}
in
start)
case ${prog} in
vbox)
vbox_start
;;
vboxcall)
vbox_call_start
;;
vboxrss)
vbox_rss_start
;;
*)
vbox_call_start
vbox_rss_start
vbox_start
;;
esac
;;
...
Mehr Informationen über die Mailingliste Eisfair