文件操作 - chrony.preinst
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/dpkg/info/chrony.preinst
编辑文件内容
#!/bin/sh set -e # Automatically added by dh_installdeb/13.14.1ubuntu5 dpkg-maintscript-helper rm_conffile /etc/NetworkManager/dispatcher.d/20-chrony 3.5-7\~ chrony -- "$@" # End automatically added section # Automatically added by dh_installinit/13.14.1ubuntu5 if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/chrony" ] ; then chmod +x "/etc/init.d/chrony" >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.14.1ubuntu5 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'chrony-wait.service' >/dev/null || true fi # End automatically added section
修改文件时间
将文件时间修改为当前时间的前一年
删除文件