mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4801 311d38ba-8fff-0310-9ca6-ca027cbcb966
14 lines
260 B
Bash
Executable File
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
|