mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
20 lines
335 B
Bash
Executable File
20 lines
335 B
Bash
Executable File
export LD_LIBRARY_PATH=/opt/lib:/opt/usr/lib
|
|
export PATH=${PATH}:/opt/bin:/opt/usr/bin
|
|
|
|
echo "### Starting NEUTRINO ###"
|
|
|
|
cd /tmp
|
|
/bin/neutrino > /dev/null 2> /dev/null
|
|
|
|
/bin/sync
|
|
/bin/sync
|
|
|
|
if [ -e /tmp/.reboot ] ; then
|
|
/bin/dt -t"Rebooting..."
|
|
/sbin/reboot -f
|
|
else
|
|
/bin/dt -t"Panic..."
|
|
sleep 5
|
|
/sbin/reboot -f
|
|
fi
|