1 # arg 1: the new package version
3 local crypt=$(grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :)
4 crypt=${crypt//\\/\\\\}
5 crypt=${crypt//\//\\\/}
6 sed -i "s/root:XXX/root:${crypt}/" /etc/usermin/miniserv.users
9 ==> It is not allowed to install 3rd party modules, or delete existing modules.
10 ==> Please write your own PKGBUILDS for 3rd party modules and additional themes.
12 ==> To make usermin start at boot time, add usermin to rc.conf daemons
13 ==> Point your web browser to http://localhost:20000 to use usermin.
14 ==> To change the modules setup please use webmin.
16 ==> The access is restricted to localhost, if you want to connect from other locations
17 ==> change /etc/usermin/miniserv.conf to something like that: allow=127.0.0.1 <your-ip>
18 ==> If you want to have ssl encryption please install 'perl-net-ssleay' additional.
22 gzip -df $(find . -name '*.gz')
25 # arg 1: the new package version
26 # arg 2: the old package version
32 # uninstall unzipped files
33 rm -r /opt/usermin/man