文件操作 - powerbtn
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/acpid/examples/powerbtn
编辑文件内容
# /etc/acpi/events/powerbtn # This is called when the user presses the power button and calls # /etc/acpi/powerbtn.sh for further processing. # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. # We need to react on "button power.*" and "button/power.*" because # of kernel changes. event=button[ /]power action=/etc/acpi/powerbtn.sh
修改文件时间
将文件时间修改为当前时间的前一年
删除文件