【自家製】MythTV Part.3【HDDビデオ】 (823レス)
【自家製】MythTV Part.3【HDDビデオ】 http://mao.5ch.net/test/read.cgi/linux/1223721998/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
リロード規制
です。10分ほどで解除するので、
他のブラウザ
へ避難してください。
68: login:Penguin [sage] 2009/01/18(日) 09:06:18 ID:UhYo3ZUW 前スレに書いてあったが、MythshutdownWakeupTimeの値を書き込めば、 mythwelcomeが自動か手動での起動かを判断できてmythfrontendの起動を制御できましたね。 mythshutdown --shutdown 実行時に、MythshutdownWakeupTimeなどの値を書き込むことが分かったので、 以下のようにmythtvの設定をしてみました。 fedora 10での環境です。 http://mao.5ch.net/test/read.cgi/linux/1223721998/68
69: login:Penguin [sage] 2009/01/18(日) 09:08:12 ID:UhYo3ZUW mythtv-setupの設定 Startup command: "" Wakeup time format: "yyyy-MM-ddThh:mm:ss" Command to set Wakeup Time: mythshutdown --setwakeup $time Server halt command: script -q -c 'sudo mythshutdown --shutdown' Pre Shutdown check-command: "mythshutdown --check" ※sudo: sorry, you must have a tty to run sudo に対処するためscriptコマンドを使用する。 http://mao.5ch.net/test/read.cgi/linux/1223721998/69
70: login:Penguin [sage] 2009/01/18(日) 09:10:56 ID:UhYo3ZUW mythwelcome --setupの設定 Command to Set Wakeup Time: script -q -c 'sudo /usr/local/sbin/setwakeup.sh $time' Wakeup time format: time_t nvram-wakeup Restart Command: <blank> Command to reboot: /sbin/reboot Command to shutdown: script -q -c 'sudo /usr/local/sbin/custom_suspend.sh' Command to run Xterm: gnome-terminal Command to run to start the Frontend: /usr/bin/mythfrontend sudo /usr/sbin/visudo で以下を追加 mythtv ALL=(root) NOPASSWD: /usr/bin/mythshutdown,/usr/local/sbin/setwakeup.sh,/usr/local/sbin/custom_suspend.sh シェルスクリプトの中身は、ユーザー環境によるので割愛します。 http://mao.5ch.net/test/read.cgi/linux/1223721998/70
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.028s