You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/freeradius-dialupadmin/files/setrootpath

7 lines
200 B

#!/bin/sh
if [ "$1" = "install" ]; then
sed -i -e "s:/usr/\(local/\)\?dialup_admin:${VHOST_ROOT}:" "${VHOST_ROOT}"/{conf/._*admin.conf,conf/admin.conf,bin/*}
chmod -R o-rwx "${VHOST_ROOT}"/conf
fi