代碼:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/home/123flashchat/server/./fcserver.sh
這是我目前的rc.local,最後那一行就是我加入的,does not work
引用:
|
/root/123 <==或是加入這一行,您設定的123檔案
|
後來加入/root/./123這一行之後,開機後已能主動執行了
但為何前面那行不行?我懷疑路徑有問題?這個home到底在哪個主目錄之下啊?