SBGK;681287 Wrote:
> It may be working as desired, don't know. There is a watchdog process
> running, pid 13, default is 99, TT3.0 set to 30. So guess it is working
> as desired otherwise why change the priority to 30.
What is this, then in the tt-file:
-killproc () {
PID1=$(pidof watchdog)
if [ "$PID1" != "" ] ; then kill $(ps -o pid= -s $(ps -o sess
--no-heading --pid $PID1)) ; fi
sleep 1
PID2=$(pidof jive)
if [ "$PID2" != "" ] ; then kill $(ps -o pid= -s $(ps -o sess
--no-heading --pid $PID2)) ; fi
killall watchdog >/dev/null 2>&1
killall jive >/dev/null 2>&1
killall jive_alsa >/dev/null 2>&1
kill -9 `pidof watchdog` >/dev/null 2>&1
kill -9 `pidof jive` >/dev/null 2>&1
}-
And this:
-#watchdog disabling/enabling -- persistant setting
wdog () {
if [ "$( grep '##TTWAD' $FILE3 | grep -v "grep" )" != "" ] ; then
sed -i 's/##TTWAD //g' $FILE3
else
sed -i 's/\/usr\/sbin\/watchdog/##TTWAD \/usr\/sbin\/watchdog/g'
$FILE3
fi
}-
And this:
-echo -n "Modification Watchdog: "
if [ "` grep '##TTWAD' $FILE3 | grep -v 'grep' `" != "" ] ; then echo
"enabled" ; else echo "disabled" ; fi-
I'm asking you since you have deep knowledge of how Linux works.
I'm only asking the questions ;)
Regards
Rolf
--
NoRoDa
------------------------------------------------------------------------
NoRoDa's Profile: http://forums.slimdevices.com/member.php?userid=49139
View this thread: http://forums.slimdevices.com/showthread.php?t=91322
_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/audiophiles