projects
/
grml-live.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
529614aea3001dcc98a5fb40820c1d79bbec8da4
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRML
/
05-hostname
1
#!/bin/sh
2
set -u
3
set -e
4
5
HOSTNAME=''
6
[ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
7
[ -n "$HOSTNAME" ] || HOSTNAME=grml
8
9
echo "$HOSTNAME" > "$target"/etc/hostname