Make sure new hostname will show up immediately.

This commit is contained in:
James Valleroy 2014-12-14 21:34:12 -05:00 committed by Sunil Mohan Adapa
parent c12fbec30f
commit 6d3c39d166

View File

@ -24,5 +24,6 @@ if [ -x /etc/init.d/hostname.sh ] ; then
else
service hostname start
fi
hostname "$hostname"
service avahi-daemon restart