summaryrefslogtreecommitdiffstats
path: root/ot-recorder
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-08-29 22:34:01 +0000
committer Eric Hameleers <alien@slackware.com>2016-08-29 22:34:01 +0000
commit9fb0e3d89ae768aa8bba5645a2d1a534793c6f86 (patch)
treeeee74e87d326b347fac09d16ef9d62c996984e1e /ot-recorder
parent850199f460cddc4549a1af75144cf0e9da0a6895 (diff)
downloadasb-9fb0e3d89ae768aa8bba5645a2d1a534793c6f86.tar.gz
asb-9fb0e3d89ae768aa8bba5645a2d1a534793c6f86.tar.xz
Differentiate between rc script config and application config
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: