blob: fb58c9c6345092bd55691c6d74476f07c1929ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
### 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
|