From 88857e147b92ec4062b5c8ee22aca253f08c1bd0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 10 Dec 2012 11:18:08 -0500 Subject: Migrate even further away from /etc/sysconfig/network for hostname, and /etc/sysconfig/i18n. --- systemd/fedora-configure | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'systemd/fedora-configure') diff --git a/systemd/fedora-configure b/systemd/fedora-configure index 43f17ca3..64f535f6 100755 --- a/systemd/fedora-configure +++ b/systemd/fedora-configure @@ -13,10 +13,8 @@ if [ -x /usr/sbin/firstboot ]; then fi # Reread in network configuration data. -if [ -f /etc/sysconfig/network ]; then - . /etc/sysconfig/network - [ -r /etc/hostname ] && HOSTNAME=$(cat /etc/hostname) - +if [ -r /etc/hostname ]; then + HOSTNAME=$(cat /etc/hostname) # Reset the hostname. action $"Resetting hostname ${HOSTNAME}: " hostname ${HOSTNAME} fi -- cgit v1.2.1