initscripts: set hostname via rc.sysinit.
--HG-- extra : convert_revision : 3f0c356f141d3d408089dca970497b310dc5a66e
This commit is contained in:
parent
5329e3579b
commit
e9a15758da
|
@ -50,3 +50,8 @@ fi
|
|||
if [ -f /etc/localtime ]; then
|
||||
hwclock $HWCLOCK_PARAMS --noadjfile
|
||||
fi
|
||||
|
||||
# Set hostname
|
||||
if [ -n "$HOSTNAME" ]; then
|
||||
hostname "$HOSTNAME"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue