update room information
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
0653b1ae69
commit
43e6c9b4db
1 changed files with 5 additions and 2 deletions
|
@ -37,9 +37,9 @@ fi
|
||||||
|
|
||||||
all_profs="$(echo $(awk '{ print $1 }' "$ETHZ_FOND_TABLE"))"
|
all_profs="$(echo $(awk '{ print $1 }' "$ETHZ_FOND_TABLE"))"
|
||||||
|
|
||||||
if [ $# -lt 3 ]; then
|
if [ $# -lt 4 ]; then
|
||||||
cat << eof
|
cat << eof
|
||||||
$__myname: <fond> <vendor> <device> [comment]
|
$__myname: <fond> <vendor> <device> <office> [comment]
|
||||||
|
|
||||||
fond: a prof like $all_profs
|
fond: a prof like $all_profs
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ from="${NETHZ_USERNAME}@ethz.ch"
|
||||||
prof="$1"; shift
|
prof="$1"; shift
|
||||||
vendor="$1"; shift
|
vendor="$1"; shift
|
||||||
device="$1"; shift
|
device="$1"; shift
|
||||||
|
office="$1"; shift
|
||||||
|
|
||||||
lz="$(awk "/$prof/ { print \$2 }" "$ETHZ_FOND_TABLE")"
|
lz="$(awk "/$prof/ { print \$2 }" "$ETHZ_FOND_TABLE")"
|
||||||
fond="$(awk "/$prof/ { print \$3 }" "$ETHZ_FOND_TABLE")"
|
fond="$(awk "/$prof/ { print \$3 }" "$ETHZ_FOND_TABLE")"
|
||||||
|
@ -79,6 +80,8 @@ Description: Hoi Thomas!
|
||||||
|
|
||||||
$device
|
$device
|
||||||
|
|
||||||
|
und in Büro $office liefern.
|
||||||
|
|
||||||
$@
|
$@
|
||||||
|
|
||||||
Viele Gruesse,
|
Viele Gruesse,
|
||||||
|
|
Loading…
Add table
Reference in a new issue