Last change
on this file was
995241a,
checked in by Edwin Eefting <edwin@datux.nl>, 7 years ago
|
radius upgrade 2.2.10. seperate config package. remove old radius 1.x files
|
-
Property mode set to
100755
|
File size:
428 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # LDAP Settings. |
---|
3 | LDAPPASSWD="`cat /etc/webint/LDAP_MASTER_PASSWD`" |
---|
4 | cat /home/system/radius/raddb/radiusd.conf | sed 's/^\t\tpassword = .*/\t\tpassword = '$LDAPPASSWD'/' >> /home/system/radius/raddb/radiusd.conf-new |
---|
5 | if [ -s /home/system/radius/raddb/radiusd.conf-new ]; then |
---|
6 | mv /home/system/radius/raddb/radiusd.conf-new /home/system/radius/raddb/radiusd.conf |
---|
7 | fi |
---|
8 | exec /usr/sbin/radiusd -f -l /var/log/radius/radius.log |
---|
Note: See
TracBrowser
for help on using the repository browser.