summaryrefslogtreecommitdiffstats
path: root/ot-recorder
diff options
context:
space:
mode:
Diffstat (limited to 'ot-recorder')
-rwxr-xr-xot-recorder/build/ot-recorder.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot-recorder/build/ot-recorder.SlackBuild b/ot-recorder/build/ot-recorder.SlackBuild
index 92a5ab5e..e860a6d3 100755
--- a/ot-recorder/build/ot-recorder.SlackBuild
+++ b/ot-recorder/build/ot-recorder.SlackBuild
@@ -195,8 +195,8 @@ mkdir -p $PKG/var/spool/owntracks/recorder/htdocs
cp -R docroot/* $PKG/var/spool/owntracks/recorder/htdocs/
install --mode 0755 ot-recorder $PKG/usr/sbin
install --mode 0755 ocat $PKG/usr/bin
-cp etc/rhel/ot-recorder.defaults $PKG/etc/default/ot-recorder
install --mode 0755 etc/rhel/ot-recorder.init $PKG/etc/rc.d/rc.ot-recorder.new
+cp etc/rhel/ot-recorder.defaults $PKG/etc/default/ot-recorder.new
# Add this to the doinst.sh:
mkdir -p $PKG/install
@@ -229,6 +229,7 @@ preserve_perms() {
}
preserve_perms etc/rc.d/rc.ot-recorder.new
+config etc/default/ot-recorder.new
# Only way to create and use the correct uid and gid on the target system,
# is to use chroot: