Hisaaki Shibata さんが 98.3.4ごろに 「[linux-users:20581] Re: [Q]auto power off」の件で: > Linux Japanに書いた記事ですが、 > http://his.ktarn.or.jp/LJ/vol5.ala/index.html > みたいなのを作れば、AT機でも電源は落ちまっせ(^^; -------------------------------last part of rc.6 # See if this is a powerfail situation. if [ -f /etc/power_is_failing ]; then echo "Turning off UPS, bye." /sbin/powerd -q exit 1 fi sleep 15 ;echo off >/dev/cua0 echo "$message" [ ! -f /etc/fastboot ] && echo "On the next boot fsck will be FORCED." $command -f -------------------------------last part of rc.6 上記のように書かれていますが、$commandがrebootの場合もecho off >/dev/cua0で電源が落ちてしまうのではありませんか?システムのシャットダ ウンやリブート時の状況の遷移(のタイミング)についてもしよければ教えて 下さい。 -- 井上 http://www.ns.musashi-tech.ac.jp/~inoue/Signature/
References:
- [linux-users:20564] Re: [Q]auto power offkitame
- [linux-users:20581] Re: [Q]auto power offHisaaki Shibata
- Prev by Subject: [linux-users:20592] Re: シェルスクリプトについて
- Next by Subject: [linux-users:20594] Re: IBM PCにlinuxをinstallできますか?
- Previous by thread: [linux-users:20581] Re: [Q]auto power off
- Next by thread: [linux-users:20567] Re: [Q]auto power off
- Indexes:[Main][Thread]