initscripts: set hostname via rc.sysinit.

--HG--
extra : convert_revision : 3f0c356f141d3d408089dca970497b310dc5a66e
This commit is contained in:
Juan RP 2009-03-06 06:30:15 +01:00
parent 5329e3579b
commit e9a15758da
1 changed files with 5 additions and 0 deletions

View File

@ -50,3 +50,8 @@ fi
if [ -f /etc/localtime ]; then
hwclock $HWCLOCK_PARAMS --noadjfile
fi
# Set hostname
if [ -n "$HOSTNAME" ]; then
hostname "$HOSTNAME"
fi