OK, I managed to get irexec running daemonized at boot. To do so, I had
to add it to /home/tc/.profile (excerpt):
Code:
--------------------
if [ -f "$HOME/.ashrc" ]; then
export ENV="$HOME/.ashrc"
. "$HOME/.ashrc"
fi
# Can't start irexec from Tweaks->User Command, try it here
/usr/local/bin/irexec -d
TERMTYPE=`/usr/bin/tty`
[ ${TERMTYPE:5:3} == "tty" ] && (
[ ! -f /etc/sysconfig/Xserver ] ||
[ -f /etc/sysconfig/text ] ||
[ -e /tmp/.X11-unix/X0 ] ||
startx
--------------------
Then persist the change with "sudo filetool.sh -b" and reboot.
At this point, irexec starts automatically and can handle my custom
remote scripts:
Code:
--------------------
tc@piCorePorch:~$ ps auxw | grep ire
3658 tc 0:00 /usr/local/bin/irexec -d
5288 tc 0:00 grep ire
--------------------
Seems pretty clear that this is a bug in the Tweaks->User commands. Is
there a separate reporting process?
------------------------------------------------------------------------
Braklet's Profile: http://forums.slimdevices.com/member.php?userid=47269
View this thread: http://forums.slimdevices.com/showthread.php?t=112524
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix