diff options
author | Bill Nottingham <notting@redhat.com> | 2012-12-10 11:18:08 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-12-10 11:18:08 -0500 |
commit | 88857e147b92ec4062b5c8ee22aca253f08c1bd0 (patch) | |
tree | 5ba73e4b3be6e23fed3370add4115e7e255245ca /systemd/fedora-configure | |
parent | 65173d72f1a662a8596aa0e14232556ba40e452f (diff) | |
download | initscripts-88857e147b92ec4062b5c8ee22aca253f08c1bd0.tar initscripts-88857e147b92ec4062b5c8ee22aca253f08c1bd0.tar.gz initscripts-88857e147b92ec4062b5c8ee22aca253f08c1bd0.tar.bz2 initscripts-88857e147b92ec4062b5c8ee22aca253f08c1bd0.tar.xz initscripts-88857e147b92ec4062b5c8ee22aca253f08c1bd0.zip |
Migrate even further away from /etc/sysconfig/network for hostname, and /etc/sysconfig/i18n.
Diffstat (limited to 'systemd/fedora-configure')
-rwxr-xr-x | systemd/fedora-configure | 6 |
1 files changed, 2 insertions, 4 deletions
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 |