Files
poky/meta/packages/initscripts/initscripts-1.0/hostname.sh
T
2008-07-03 15:20:56 +00:00

14 lines
260 B
Bash
Executable File

### 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