source: npl/commonservers/radius_conf/root/service/radius/run

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
RevLine 
[995241a]1#!/bin/sh
2# LDAP Settings.
3LDAPPASSWD="`cat /etc/webint/LDAP_MASTER_PASSWD`"
4cat /home/system/radius/raddb/radiusd.conf | sed 's/^\t\tpassword = .*/\t\tpassword = '$LDAPPASSWD'/' >> /home/system/radius/raddb/radiusd.conf-new
5if [ -s /home/system/radius/raddb/radiusd.conf-new ]; then
6mv /home/system/radius/raddb/radiusd.conf-new /home/system/radius/raddb/radiusd.conf
7fi
8exec /usr/sbin/radiusd -f -l /var/log/radius/radius.log
Note: See TracBrowser for help on using the repository browser.