檢驗 check 程序檔是否位於 JumpStart 目錄中。
check 程序檔位於 Solaris 9 DVD 或 Solaris 9 Software 1 of 2 CD 上的Solaris_9/Misc/jumpstart_sample 目錄中。
執行 check 程序檔以驗證 rules 以及 custom_probes 檔案。
$ ./check [[-p path -r file_name]] |
使用平台 Solaris 9 軟體影像的 check 程序檔,而不是使用中系統的 check 程序檔,來驗證 custom_probes 檔案。path 是本機磁碟、裝載的 Solaris 9 DVD 或 Solaris 9 Software 1 of 2 CD 上的影像。 如果系統執行舊版的 Solaris,請使用此選項來執行最新版本的 check。 |
|
指定一個與 custom_probes 檔案不同名的檔案名稱。藉由使用 -r 選項,您可以先測試函式集合的有效性,然後將函式整合至 custom_probes 檔案。 |
執行 check 程序檔時,程序檔便會報告 rules、custom_probes 檔案以及每個設定檔的有效性。如果沒有發生任何錯誤,程序檔會報告: "The custom JumpStart configuration is ok" 並在 JumpStart 目錄中建立 rules.ok 和 custom_probes.ok 檔。
如果可以執行,請移至 步驟 5。
如果不能執行,請鍵入下列指令:
chmod +x custom_probes
確定 root 擁有 custom_probes.ok 檔案,並且許可權設定為 755。