mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
Conflicts:
autorun.sh
Origin commit data
------------------
Commit: b2141a8217
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-07-31 (Wed, 31 Jul 2013)
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
|