projects
/
grml-live-grml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update documentation, simplify TARGET layout, remove cfengine2 from package list...
[grml-live-grml.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