source:
trunk/server/common/oursrc/accountadm/vhostedit
@
2759
Last change on this file since 2759 was 2759, checked in by andersk, 9 years ago | |
---|---|
|
|
File size: 227 bytes |
Rev | Line | |
---|---|---|
[765] | 1 | #!/bin/sh |
2 | ||
3 | if [ ! "$1" ]; then | |
4 | echo "Usage: $0 <vhost>" | |
5 | exit 2 | |
6 | fi | |
7 | ||
[2759] | 8 | exec ldapvi -b dc=scripts,dc=mit,dc=edu "(&(objectClass=scriptsVhost)(|$(printf '(scriptsVhostName=%s)' "$@")$(printf '(scriptsVhostAlias=%s)' "$@")))" |
Note: See TracBrowser
for help on using the repository browser.