7,166
edits
Line 348: | Line 348: | ||
=== OpenWrt の init script 完了を待つ処理 === | === OpenWrt の init script 完了を待つ処理 === | ||
USB LED (明るい白色)が点灯する時点で OpenWrt が起動済み(rc. | USB LED (明るい白色)が点灯する時点で OpenWrt が起動済み(rc.local 実行時)ということを利用して、 | ||
:/etc/rc.local の boot-complete-notify 実行直前は brightness は 0 である。boot-complete-notify 実行後に 255 である。 | :/etc/rc.local の boot-complete-notify 実行直前は brightness は 0 である。boot-complete-notify 実行後に 255 である。 | ||
:白色 LED を消灯するために trigger に none を入力後も brightness は 255 である。 | :白色 LED を消灯するために trigger に none を入力後も brightness は 255 である。 |