summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-13 15:53:06 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-13 15:53:06 +0000
commit2ac734a594f6a7f23bab5ba6d6023a5fe2bb36c9 (patch)
treec0821fea0e1dd0dd4e9479c24e1457f159acf3b2
parentdeb6228cfbd1da6026eadc4e5a96653fbd591f5c (diff)
Invoke launch-simpleopal (not simpleopal directly) in sysV script.
git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@23 8f53b18a-e215-0410-8885-9f593d34873e
-rwxr-xr-xaddons/x11phonehome/etc/init.d/local-phonehome5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/x11phonehome/etc/init.d/local-phonehome b/addons/x11phonehome/etc/init.d/local-phonehome
index d6b12a4..5c3c9c3 100755
--- a/addons/x11phonehome/etc/init.d/local-phonehome
+++ b/addons/x11phonehome/etc/init.d/local-phonehome
@@ -39,7 +39,7 @@ d_start() {
insmod $(find /lib/modules/ -regex '.*/media/pwc\.ko') || true
# /usr/bin/motion
- simpleopal -lanVIX h323:192.168.102.160
+ /usr/local/bin/launch-simpleopal
}
#
@@ -48,7 +48,8 @@ d_start() {
d_stop() {
# start-stop-daemon --stop --quiet --pidfile $PIDFILE \
# --name $NAME
- /usr/bin/killall TERM motion || /bin/true
+ /usr/local/bin/launch-simpleopal -k || /bin/true
+# /usr/bin/killall TERM motion || /bin/true
/usr/local/bin/launch-unclutter -k || /bin/true
/usr/local/bin/launch-x11 -k || /bin/true
killall Xorg -wq || /bin/true