文件操作 - alsa-restore.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/alsa-restore.service
编辑文件内容
# # Note that two different ALSA card state management schemes exist and they # can be switched using a file exist check - /etc/alsa/state-daemon.conf . # [Unit] Description=Save/Restore Sound Card State ConditionPathExists=!/etc/alsa/state-daemon.conf ConditionPathExistsGlob=/dev/snd/control* ConditionPathExists=/var/lib/alsa/asound.state [Service] Type=oneshot RemainAfterExit=true ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore ExecStop=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
修改文件时间
将文件时间修改为当前时间的前一年
删除文件