summarylogtreecommitdiffstats
path: root/vrpn.rc.patch
diff options
context:
space:
mode:
authorChristoph Haag2015-06-16 17:21:51 +0200
committerChristoph Haag2015-06-16 17:21:51 +0200
commita0601bedff2afbef72b0e49f824129886f30cef0 (patch)
tree57282bf9cb7a5d8adf327168461fd615df1bd60f /vrpn.rc.patch
downloadaur-a0601bedff2afbef72b0e49f824129886f30cef0.tar.gz
Initial commit
Diffstat (limited to 'vrpn.rc.patch')
-rw-r--r--vrpn.rc.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/vrpn.rc.patch b/vrpn.rc.patch
new file mode 100644
index 000000000000..3d9562aee538
--- /dev/null
+++ b/vrpn.rc.patch
@@ -0,0 +1,30 @@
+--- vrpn.rc 2013-09-16 20:47:54.000000000 +0200
++++ vrpn.rc 2013-09-18 13:51:22.406432385 +0200
+@@ -8,7 +8,7 @@
+ # description: Starts and stops the vrpn server at boot time and shutdown.
+ #
+ # processname: vrpn_server
+-# config: /usr/local/vrpn/vrpn.cfg
++# config: /etc/vrpn.cfg
+
+ # Source function library.
+ . /etc/rc.d/init.d/functions
+@@ -19,14 +19,14 @@
+ # Check that networking is up.
+ [ ${NETWORKING} = "no" ] && exit 0
+
+-VRPN_DIR=/usr/local/vrpn
+-VRPN_CFG=vrpn.cfg
+-VRPN_ARGS="-millisleep 1 -f $VRPN_DIR/$VRPN_CFG"
++VRPN_DIR=/usr
++VRPN_CFG=/etc/vrpn.cfg
++VRPN_ARGS="-millisleep 1 -f $VRPN_CFG"
+ VRPN=vrpn_server
+
+ export PATH=$VRPN_DIR/bin:$PATH
+
+-[ -f $VRPN_DIR/$VRPN_CFG ] || exit 0
++[ -f $VRPN_CFG ] || exit 0
+ [ -x $VRPN_DIR/bin/$VRPN ] || exit 0
+
+ # See how we were called.