git://git.onelab.eu
/
infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
f37 -> f39
[infrastructure.git]
/
scripts
/
onelab-aliases.sh
diff --git
a/scripts/onelab-aliases.sh
b/scripts/onelab-aliases.sh
index
f57bb3c
..
abad15c
100755
(executable)
--- a/
scripts/onelab-aliases.sh
+++ b/
scripts/onelab-aliases.sh
@@
-1,12
+1,10
@@
#!/bin/bash
#!/bin/bash
-# $Id$
-
-# to be run on the mail server at one-lab.org, to add aliases in that domain
+# to be run on the mail server at onelab.eu, to add aliases in that domain
# Example:
# new-alias.sh francois2.jan@orange-ftgroup.com
# -> creates one alias
# Example:
# new-alias.sh francois2.jan@orange-ftgroup.com
# -> creates one alias
-# francois2.jan@one
-lab.org
-> francois2.jan@orange-ftgroup.com
+# francois2.jan@one
lab.eu
-> francois2.jan@orange-ftgroup.com
COMMAND=$(basename $0)
COMMAND=$(basename $0)
@@
-27,7
+25,7
@@
function create () {
echo "WARNING: $target skipped"
continue
fi
echo "WARNING: $target skipped"
continue
fi
- aliasname=${namepart}@one
-lab.org
+ aliasname=${namepart}@one
lab.eu
sqlcommand="insert into alias values ( '${aliasname}', '${target}' )"
echo "Sending $sqlcommand"
echo "$sqlcommand" | $SQL
sqlcommand="insert into alias values ( '${aliasname}', '${target}' )"
echo "Sending $sqlcommand"
echo "$sqlcommand" | $SQL