diff --git a/skel-root/armbox/hd51/etc/init.d/start_neutrino b/skel-root/armbox/hd51/etc/init.d/start_neutrino index f9e83670..3605cced 100755 --- a/skel-root/armbox/hd51/etc/init.d/start_neutrino +++ b/skel-root/armbox/hd51/etc/init.d/start_neutrino @@ -14,7 +14,7 @@ REBOOT_ON_ERROR=false do_cleanup() { # remove files created by neutrino - rm -f /tmp/.reboot /tmp/.timer + rm -f /tmp/.timer } do_shutdown() { @@ -40,6 +40,7 @@ while true; do do_shutdown break elif [ $RET -eq 2 ]; then + do_cleanup do_reboot break fi diff --git a/skel-root/coolstream/hd1/etc/init.d/start_neutrino b/skel-root/coolstream/hd1/etc/init.d/start_neutrino index 1d811902..3986d880 100755 --- a/skel-root/coolstream/hd1/etc/init.d/start_neutrino +++ b/skel-root/coolstream/hd1/etc/init.d/start_neutrino @@ -7,7 +7,7 @@ REBOOT_ON_ERROR=true do_cleanup() { # remove files created by neutrino - rm -f /tmp/.reboot /tmp/.timer + rm -f /tmp/.timer } do_shutdown() { @@ -33,6 +33,7 @@ while true; do do_shutdown break elif [ $RET -eq 2 ]; then + do_cleanup do_reboot break fi diff --git a/skel-root/coolstream/hd2/etc/init.d/start_neutrino b/skel-root/coolstream/hd2/etc/init.d/start_neutrino index 2fb80e19..66447071 100755 --- a/skel-root/coolstream/hd2/etc/init.d/start_neutrino +++ b/skel-root/coolstream/hd2/etc/init.d/start_neutrino @@ -11,7 +11,7 @@ REBOOT_ON_ERROR=true do_cleanup() { # remove files created by neutrino - rm -f /tmp/.reboot /tmp/.timer + rm -f /tmp/.timer } do_shutdown() { @@ -37,6 +37,7 @@ while true; do do_shutdown break elif [ $RET -eq 2 ]; then + do_cleanup do_reboot break fi