停止と再起動で、正常に動作するように以下の行を追加する。
忘れていたのでメモする。
# See how we were called.
case "$0" in
*halt)
message=$"Halting system..."
command="halt"
echo -n "EEEE" > /dev/ttyS1 ←
;;
*reboot)
message=$"Please stand by while rebooting the system..."
command="reboot"
echo -n "CCCC" > /dev/ttyS1 ←
;;
*)
echo $"$0: call me as 'rc.halt' or 'rc.reboot' please!"
exit 1
;;
esac
mail
コメントする