OpenBSDユーザーコーナー Part4
■ このスレッドは過去ログ倉庫に格納されています
0651login:Penguin
2005/10/12(水) 04:44:43Subject: Re: Kernel PPPoE is dieing...
Date: Tue, 23 Aug 2005 11:49:48 -0400
には
#!/bin/sh
# pppoecheck - attempt to restart pppoe interface if it is down
# pppoe0 interface exists
if [ -f /etc/hostname.pppoe0 ]; then
down=`ifconfig pppoe inet | fgrep 0.0.0.0`
if [ "$down" ]; then
logger -p user.err pppoe0: phase restart
ifconfig pppoe0 up
fi
fi
がある。
質問1 logger -p user.err pppoe0: phase restartすると logはどこに書き込まれてるのか?
/var/log/messages か?
質問2
* * * * * /usr/local/sbin/chkpppoe.sh
は、毎秒毎に実行ということか?
偉い人教えて
■ このスレッドは過去ログ倉庫に格納されています