summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/freeradius-dialupadmin/files/setrootpath')
-rw-r--r--www-apps/freeradius-dialupadmin/files/setrootpath3
1 files changed, 2 insertions, 1 deletions
diff --git a/www-apps/freeradius-dialupadmin/files/setrootpath b/www-apps/freeradius-dialupadmin/files/setrootpath
index 6098945fbcd4..d7d8d000d366 100644
--- a/www-apps/freeradius-dialupadmin/files/setrootpath
+++ b/www-apps/freeradius-dialupadmin/files/setrootpath
@@ -1,5 +1,6 @@
#!/bin/sh
if [ "$1" = "install" ]; then
- sed -i -e "s:/usr/dialup_admin:${VHOST_ROOT}:" ${VHOST_ROOT}/conf/{._*admin.conf,admin.conf}
+ sed -i -e "s:/usr/dialup_admin:${VHOST_ROOT}:" ${VHOST_ROOT}/{conf/._*admin.conf,conf/admin.conf,bin/*}
+ chmod -R o-rwx ${VHOST_ROOT}/conf
fi