summarylogtreecommitdiffstats
path: root/setup-pre.sh
diff options
context:
space:
mode:
authorAmish2017-05-02 14:59:40 +0530
committerAmish2017-05-02 14:59:40 +0530
commitf69de527d3f181e418de20257fef2b542bc8fb45 (patch)
treee2c5044865d6a669dc8bb8b51d7524b26c0eee57 /setup-pre.sh
parent864b28d36d21273f9c26ae6c146fcc2b3c6390af (diff)
downloadaur-f69de527d3f181e418de20257fef2b542bc8fb45.tar.gz
Use pre and post setup scripts which webmin calls automatically
Diffstat (limited to 'setup-pre.sh')
-rw-r--r--setup-pre.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/setup-pre.sh b/setup-pre.sh
new file mode 100644
index 000000000000..1b913e0dc345
--- /dev/null
+++ b/setup-pre.sh
@@ -0,0 +1,17 @@
+config_dir="$archpkgdir"/etc/webmin
+var_dir="$archpkgdir"/var/log/webmin
+perl=/usr/bin/perl
+autoos=1
+port=10000
+login=root
+crypt="x"
+ssl=1
+atboot=0
+nostart=1
+nochown=1
+autothird=1
+nouninstall=1
+atbootyn=n
+tempdir="$archpkgdir"/tmp
+pam=webmin
+export config_dir var_dir perl autoos port login crypt ssl atboot nostart nochown autothird nouninstall atbootyn tempdir pam