Files
recycled-ni-neutrino/autorun.sh
[CST] Focus ad66569997 autorun.sh: change PATH and LD_LIBRARY_PATH
Origin commit data
------------------
Branch: ni/coolstream
Commit: 624f128325
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-08-12 (Mon, 12 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-08-13 20:13:04 +04:00

20 lines
322 B
Bash
Executable File

export LD_LIBRARY_PATH=/var/lib
export PATH=${PATH}:/var/bin:/var/plugins
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