Files
poky/meta/packages/initscripts/initscripts-1.0/hostname.sh
Ross Burton bde70a9f31 initscripts: add dependency headers
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4801 311d38ba-8fff-0310-9ca6-ca027cbcb966
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