summarylogtreecommitdiffstats
path: root/setup-post.sh
diff options
context:
space:
mode:
authorAmish2017-05-03 11:27:29 +0530
committerAmish2017-05-03 11:27:29 +0530
commit8bad93ceb7fce1ebda14c002fc3590e379b2bb15 (patch)
tree87777a5c768e3af308fc3572a78b512fa3786d90 /setup-post.sh
parentb6829c0457a5bcac8d10ff3abe3fd13ed5ad7a08 (diff)
downloadaur-8bad93ceb7fce1ebda14c002fc3590e379b2bb15.tar.gz
Backup webmin.acl too
Diffstat (limited to 'setup-post.sh')
-rw-r--r--setup-post.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-post.sh b/setup-post.sh
index 9fe3d66145f0..7057cc44a8d4 100644
--- a/setup-post.sh
+++ b/setup-post.sh
@@ -1,4 +1,4 @@
# more logging, other config changes and use pam
echo -e 'logfiles=1\nlogfullfiles=1\ngotoone=1\nnoremember=1' >> "$archpkgdir"/etc/webmin/config
-sed -i 's:^pidfile=.*$:pidfile=/run/webmin.pid:' "$archpkgdir"/etc/webmin/miniserv.conf
+sed -i -e 's:^pidfile=.*$:pidfile=/run/webmin.pid:' "$archpkgdir"/etc/webmin/miniserv.conf
echo -e 'pam_only=1\npam_end=1\npam_conv=\nno_pam=0\nlogouttime=10' >> "$archpkgdir"/etc/webmin/miniserv.conf