system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Direktori : /lib/systemd/ |
|
Current File : //lib/systemd/rhel-configure |
#!/bin/bash
#
# Configure machine if necessary.
. /etc/init.d/functions
if [ -x /bin/plymouth ]; then
/bin/plymouth quit
fi
if [ -x /usr/sbin/firstboot ]; then
/usr/sbin/firstboot
fi
# Reread in network configuration data.
if [ -r /etc/hostname ]; then
HOSTNAME=$(cat /etc/hostname)
# Reset the hostname.
action $"Resetting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
fi