文件操作 - default
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/acpid/examples/default
编辑文件内容
# This is the ACPID default configuration, it takes all # events and passes them to /etc/acpi/default.sh for further # processing. # event keeps a regular expression matching the event. To get # power events only, just use something like "event=button power.*" # to catch it. # action keeps the command to be executed after an event occurs # In case of the power event above, your entry may look this way: #event=button power.* #action=/sbin/init 0 # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. event=.* action=/etc/acpi/default.sh %e
修改文件时间
将文件时间修改为当前时间的前一年
删除文件