blob: aec11028279a611465e392ceea1ed5ea3a227e8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
case "${1}" in
start)
printf 'Setting hostname... '
[ -f /etc/hostname ] && hostname -F /etc/hostname || hostname none
printf 'done.\n'
;;
*)
printf 'Usage: %s start\n' "${0}" >&2
exit 1
;;
esac
|