2013-04-12から1日間の記事一覧

watchdogみたいなもん

openwrtの無線クライアント(無線的に遠方のやつ)に仕込み、 クーロンで一時間ごとにキックする。 5時間以上ネットワークが普通になったら、自分をリブート、 って手はず、のつもり。 root@pci-cqw-191:~# cat watchdog.sh #!/bin/sh #paramete HISTORYFIL…

smartmontools ( smartctl , smartd )

以下、サンプル 以下設定を追加 /dev/sda -a -d sat -o on -S on -n standby -I 190 -I 194 -s (S/../.././22|L/../../7/03) -m xxx@aaa,yyy@bbb,zzz@ccc /dev/sdb -a -d sat -o on -S on -n standby -I 190 -I 194 -s (S/../.././23|L/../../7/04) -m xxx@a…