Browse Source

Merge branch 'master' of bitbucket.org:neutrino-images/ni-buildsystem

master
vanhofen 8 years ago
parent
commit
a2cb83d080
  1. 2
      skel-root/axtech/ax/etc/init.d/start_neutrino
  2. 11
      skel-root/coolstream/hd1/etc/init.d/start_neutrino
  3. 11
      skel-root/coolstream/hd2/etc/init.d/start_neutrino

2
skel-root/axtech/ax/etc/init.d/start_neutrino

@ -6,7 +6,7 @@ if [ -e /var/etc/.coredump ]; then
ulimit -c unlimited
fi
#GST_DEBUG=dtsdownmix:4,dvbaudiosink:4,dvbvideosink:4
GST_DEBUG=dtsdownmix:4,dvbaudiosink:4,dvbvideosink:4
until neutrino; do
RET=$?

11
skel-root/coolstream/hd1/etc/init.d/start_neutrino

@ -30,5 +30,16 @@ if [ -e /tmp/.reboot ]; then # gets created by neutrino
reboot
elif [ -e /tmp/.halt ]; then
dt -t"SHUTDOWN"
TIMER="/tmp/.timer"
if [ -e $TIMER ]; then
# custom poweroff binary
if type shutdown_helper > /dev/null; then
PARAM=`cat $TIMER`
echo "calling 'shutdown_helper "$PARAM"'"
shutdown_helper $PARAM
fi
fi
poweroff
fi

11
skel-root/coolstream/hd2/etc/init.d/start_neutrino

@ -34,5 +34,16 @@ if [ -e /tmp/.reboot ]; then # gets created by neutrino
reboot
elif [ -e /tmp/.halt ]; then
dt -t"SHUTDOWN"
TIMER="/tmp/.timer"
if [ -e $TIMER ]; then
# custom poweroff binary
if type shutdown_helper > /dev/null; then
PARAM=`cat $TIMER`
echo "calling 'shutdown_helper "$PARAM"'"
shutdown_helper $PARAM
fi
fi
poweroff
fi

Loading…
Cancel
Save