parent
8e7fd26104
commit
aa64cf3dda
@ -1,45 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
#-title-#
|
||||
|
||||
depend() {
|
||||
need localmount root fsck modules
|
||||
before consolefont keymaps dbus
|
||||
use swap
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/calculate/install/calculate -P all
|
||||
|
||||
/usr/sbin/env-update
|
||||
source /etc/profile
|
||||
/sbin/update-modules
|
||||
|
||||
#?system=desktop#
|
||||
LANG=C /usr/calculate/install/calculate --opengl
|
||||
#system#
|
||||
#-run_user-#
|
||||
|
||||
# searching in cmdline using cdroot_type
|
||||
for x in `cat /proc/cmdline`;do
|
||||
case ${x} in
|
||||
cdroot_type\=*)
|
||||
NOEJECT="1"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
# if found caching image on RAM - eject CD
|
||||
if [ -f /mnt/livecd.* -a "${NOEJECT}" != "1" ] ||
|
||||
[ -f /mnt/squash/livecd.* -a "${NOEJECT}" != "1" ];
|
||||
then
|
||||
eject
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
#stop() {
|
||||
|
||||
#}
|
||||
|
||||
#restart() {
|
||||
|
||||
#}
|
Loading…
Reference in new issue