- account for whitespace changes
Nalin Dahyabhai
13 years ago
0 | 0 |
#!/bin/sh
|
1 | |
sed -i -r -e '/^dn: cn=Schema Compatibility, cn=plugins, cn=config$/,/^$/ s/^(nsslapd-pluginenabled:) on$/\1 off/i' "$@"
|
|
1 |
sed -i -r -e '/^dn: cn=Schema Compatibility, *cn=plugins, *cn=config$/,/^$/ s/^(nsslapd-pluginenabled:) on$/\1 off/i' "$@"
|
0 | 0 |
#!/bin/sh
|
1 | |
sed -i -r -e '/^dn: cn=NIS Server, cn=plugins, cn=config$/,/^$/ s/^(nsslapd-pluginenabled:) on$/\1 off/i' "$@"
|
|
1 |
sed -i -r -e '/^dn: cn=NIS Server, *cn=plugins, *cn=config$/,/^$/ s/^(nsslapd-pluginenabled:) on$/\1 off/i' "$@"
|