diff options
Diffstat (limited to 'systemd')
-rwxr-xr-x | systemd/fedora-readonly | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/fedora-readonly b/systemd/fedora-readonly index 50e5ed97..83b1747b 100755 --- a/systemd/fedora-readonly +++ b/systemd/fedora-readonly @@ -5,6 +5,10 @@ . /etc/init.d/functions +# We need to initialize the $HOSTNAME variable by ourselves now: +# (It was previously done for RHEL-6 branch, but got lost in time.) +HOSTNAME="$(hostname)" + # Check SELinux status SELINUX_STATE= if [ -e "/sys/fs/selinux/enforce" ] && [ "$(cat /proc/self/attr/current)" != "kernel" ]; then |