summaryrefslogtreecommitdiff
path: root/addons/x11phonehome
diff options
context:
space:
mode:
Diffstat (limited to 'addons/x11phonehome')
-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