aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/fedora-configure
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/fedora-configure')
-rwxr-xr-xsystemd/fedora-configure5
1 files changed, 3 insertions, 2 deletions
diff --git a/systemd/fedora-configure b/systemd/fedora-configure
index e6779fed..43f17ca3 100755
--- a/systemd/fedora-configure
+++ b/systemd/fedora-configure
@@ -4,8 +4,8 @@
. /etc/init.d/functions
-if [ -x /usr/bin/plymouth ]; then
- /usr/bin/plymouth quit
+if [ -x /bin/plymouth ]; then
+ /bin/plymouth quit
fi
if [ -x /usr/sbin/firstboot ]; then
@@ -15,6 +15,7 @@ fi
# Reread in network configuration data.
if [ -f /etc/sysconfig/network ]; then
. /etc/sysconfig/network
+ [ -r /etc/hostname ] && HOSTNAME=$(cat /etc/hostname)
# Reset the hostname.
action $"Resetting hostname ${HOSTNAME}: " hostname ${HOSTNAME}