changeset 0 | 3906ca745819 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resources/freerad-site-patcher.sed Tue Jan 08 23:13:29 2013 -0500 @@ -0,0 +1,14 @@ +#!/bin/sed -rf +/^#\tldap/ { + s/^#\tldap$/\tldap/ +} + +/Auth-Type LDAP/ { + N + N + s/^#?(\s*)Auth-Type LDAP \{\ +#?(\s*)ldap\ +#?(\s*)\}/\1Auth-Type LDAP \{\ +\2ldap\ +\3\}/ +}