1)首先將開機要執行的動作寫在一個script中,在此以acos.sh命名作為範例,此檔案內容為 #! · 2)將此檔案移至/etc/init.d目錄下 · 3)執行sudo update-rc.d default 99 1.
確定! 回上一頁