[問題] Fedora 17 中 rc.local 的相關問題

看板Linux作者 (無)時間13年前 (2012/06/20 23:37), 編輯推噓0(003)
留言3則, 2人參與, 最新討論串1/3 (看更多)
Fedora 17 中,rc.local 中任一個 console 應用程式的 stdout 輸出不會在螢幕上顯示了〈已確認這些應用程式確實有執行過〉, 但在 Fedora 15 以前的 Linux 版本沒有這個現象! 有高手知道原因嗎? 有辦法讓 stdout 輸出在 tty1 顯示嗎? 這問題和 polymouth screen 或 systemd 有關嗎? 請大家幫幫忙,謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.249.58.183

06/21 00:00, , 1F
沒用Fedora17, 不過你可以藉由screen 來執行
06/21 00:00, 1F

06/21 00:03, , 2F
Daemon stdout/in/err 理論上都是指向/dev/null
06/21 00:03, 2F

06/21 00:07, , 3F
試試看 把output redirect到 /dev/tty1
06/21 00:07, 3F
文章代碼(AID): #1FuUv4dr (Linux)
文章代碼(AID): #1FuUv4dr (Linux)