resources/freerad-site-patcher.sed
author Dan Fuhry <dan@fuhry.us>
Tue, 08 Jan 2013 23:15:29 -0500
changeset 1 6918cfc6fd6b
parent 0 3906ca745819
permissions -rw-r--r--
Fix logo alignment

#!/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\}/
}