diff options
author | Bill Nottingham <notting@redhat.com> | 2010-11-16 21:05:02 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-11-16 21:05:02 -0500 |
commit | 3c46ef163cd34ef360c0c0322b4d90e3c3dad457 (patch) | |
tree | 2bdb147b62c957600bf6d35c0706f6b15d4f2e7c /systemd/fedora-configure | |
parent | 7eaac898d086ea2a3dc2da549e192c5f164a5751 (diff) | |
parent | cc5b400dd6bad85f5d7b8e4a889134d3668e20a4 (diff) | |
download | initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar.gz initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar.bz2 initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.tar.xz initscripts-3c46ef163cd34ef360c0c0322b4d90e3c3dad457.zip |
Merge branch 'systemd-branch'
Diffstat (limited to 'systemd/fedora-configure')
-rwxr-xr-x | systemd/fedora-configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/systemd/fedora-configure b/systemd/fedora-configure new file mode 100755 index 00000000..e6779fed --- /dev/null +++ b/systemd/fedora-configure @@ -0,0 +1,21 @@ +#!/bin/bash +# +# Configure machine if necessary. + +. /etc/init.d/functions + +if [ -x /usr/bin/plymouth ]; then + /usr/bin/plymouth quit +fi + +if [ -x /usr/sbin/firstboot ]; then + /usr/sbin/firstboot +fi + +# Reread in network configuration data. +if [ -f /etc/sysconfig/network ]; then + . /etc/sysconfig/network + + # Reset the hostname. + action $"Resetting hostname ${HOSTNAME}: " hostname ${HOSTNAME} +fi |