文件操作 - rhel-configure
返回文件管理
返回主菜单
删除本文件
文件: /usr/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
修改文件时间
将文件时间修改为当前时间的前一年
删除文件