Johann001
-
Gesamte Inhalte
6 -
Benutzer seit
Inhaltstyp
Profile
Forum
Kalender
Downloads
Blogs
Galerie
Articles
Beiträge erstellt von Johann001
-
-
ok - ich werde den starteintrag einmal in die start_neutrino reinschreiben und nicht in die rcs Datei - vielleicht braucht er solange weil er keine Uhrzeit bekommt?
-
ja das habe ich schon gefunden und auch alles reinkopiert und die rechte gesetzt. Nur beim Starten dauert es so lange. Die Pin abfrage usw... kommt alles
-
wie muss der Aufruf in der rcs genau lauten und wo soll man den aufruf genau reinschreiben - am ende drann? - So habe es schon gefunden.
Nur leider habe ich jetzt ein anderes Problem:
Als ich die rcs geändert hatte blieb die Box am Anfang gleich stehen und es dauerte sicher 200 Sekunden bis die Pin abfrage kam erst dann ging es weiter - an was leigt das?
-
Hallo,
ich möchte mich mal recht herzlich dafür bedanken und werde das tool heute Abend gleich mal testen.
Gruß
timecont Version 0.03
in DBox2 Plugins
Geschrieben
ich habe es jetzt versucht in der start_neutrino zu machen, nun glaube ich das es überhaupt nicht startet? ich kopiere hier einfachmal meine neutrino start rein:
......
# PMT-Update ***********************************************************************
if [ -e /var/etc/.pmt_update ] ; then
zapit -u
else
zapit
fi;
controld
nhttpd
until neutrino -f -u ; do
if pidof timecont > /dev/null; then
killall timecont
fi;
echo "Neutrino exited with nonzero exit status, restarting..."
pidof sectionsd >/dev/null || sectionsd
pidof timerd >/dev/null || timerd
pidof camd2 >/dev/null || camd2
pidof zapit >/dev/null || zapit
pidof controld >/dev/null || controld
pidof nhttpd >/dev/null || nhttpd
done
[ -e /tmp/tuxmaild.pid ] && kill $( cat /tmp/tuxmaild.pid )
[ -e /tmp/tuxcald.pid ] && kill $( cat /tmp/tuxcald.pid )
[ -e /var/run/automount.pid ] && kill -TERM $( cat /var/run/automount.pid )
pzapit -kill
/var/emu/pcamd -kill
touch /tmp/gbox.kill
[ -e /tmp/tuxmaild.pid ] && kill $( cat /tmp/tuxmaild.pid )
i=15
while expr $i != 0 > /dev/null
do
if pidof controld > /dev/null; then echo "Waiting for controld (max. $i seconds)"
elif pidof timerd > /dev/null; then echo "Waiting for timerd (max. $i seconds)"
elif pidof zapit > /dev/null; then echo "Waiting for zapit (max. $i seconds)"
elif pidof tuxmaild > /dev/null; then echo "Waiting for tuxmaild (max. $i seconds)"
elif pidof tuxcald > /dev/null; then echo "Waiting for tuxcald (max. $i seconds)"
else break;
fi
i=`expr $i - 1`
sleep 1
done
if [ -e /tmp/.nohalt ] ; then
killall -q sectionsd
killall -q timerd
killall -q camd2
killall -q zapit
killall -q controld
killall -q nhttpd
saa --fbas
switch -fnc 0 -fblk 0
echo "Neutrino and its daemons terminated (hopefully)"
exit
fi
if [ -e /tmp/.reboot ] ; then
reboot
else
halt
fi