freebsd/pfsense 关闭显示器

2014-04-05 19:40:48 0  category: Freebsd

获取 green_saver.ko

cd /boot/modules

fetch http://files.pfsense.org/jimp/ko-8.3/amd64/green_saver.ko


编辑 /cf/conf/config.xml


<afterbootupshellcmd>/var/vidcontroll.sh</afterbootupshellcmd>
</system>


编辑 /var/vidcontroll.sh


#!/bin/sh
kldload -v green_saver.ko;
vidcontrol -t 30