diff options
| author | Britney Fransen <brfransen@gmail.com> | 2020-01-30 22:45:13 (GMT) |
|---|---|---|
| committer | Britney Fransen <brfransen@gmail.com> | 2020-01-30 22:45:13 (GMT) |
| commit | 13a82e0368a29a932dbd8de2504d84a1c7484cb2 (patch) | |
| tree | c189111276e527e05d3b74993be88057d100f1f2 /abs/extra/webmin/webmin.install | |
| parent | ff231b1e02bed98599bf4ed4b10b9945b7af8c6e (diff) | |
| download | linhes_pkgbuild-13a82e0368a29a932dbd8de2504d84a1c7484cb2.zip linhes_pkgbuild-13a82e0368a29a932dbd8de2504d84a1c7484cb2.tar.gz linhes_pkgbuild-13a82e0368a29a932dbd8de2504d84a1c7484cb2.tar.bz2 | |
webmin: update to 1.941. closes #1045
Diffstat (limited to 'abs/extra/webmin/webmin.install')
| -rw-r--r-- | abs/extra/webmin/webmin.install | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/extra/webmin/webmin.install b/abs/extra/webmin/webmin.install deleted file mode 100644 index fc9fd44..0000000 --- a/abs/extra/webmin/webmin.install +++ /dev/null @@ -1,34 +0,0 @@ -# arg 1: the new package version -post_install() { - local crypt=$(grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :) - crypt=${crypt//\\/\\\\} - crypt=${crypt//\//\\\/} - sed -i "s/root:XXX/root:${crypt}/" /etc/webmin/miniserv.users - -cat << EOF -Note: -==> It is not allowed to install 3rd party modules, or delete existing modules. -==> Please write your own PKGBUILDS for 3rd party modules and additional themes. -Setup: -==> Point your web browser to http://localhost:10000 to use webmin. -==> The access is restricted to localhost, if you want to connect from other locations -==> change /etc/webmin/miniserv.conf to something like that: allow=127.0.0.1 <your-ip> -==> If you want to have ssl encryption please install 'perl-net-ssleay' additional. -EOF -# fix man module - cd /opt/webmin/man - for i in $(find . -name '*.gz'); do - gzip -df $i - done -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install $1 -} - -pre_remove() { - # uninstall unzipped files - rm -r /opt/webmin/man -} |
