blob: 4399ee7b18f993e414a60393fc3af74fe5a8fb6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
### BEGIN INIT INFO
# Provides: hostname
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Set hostname based on /etc/hostname
### END INIT INFO
if test -f /etc/hostname
then
hostname -F /etc/hostname
fi
|