The return values for execution scripts are as follows:
0 Script exited without error. This causes the status OK to appear in the checklist
1 Script encountered errors. This causes the status FAIL to appear in the checklist
2 Script was skipped due to overriding control variables from /etc/rc.config.d files, or for other reasons, and did not actually do anything. This causes the status N/A to appear in the checklist
3 Script executed normally and requires an immediate system reboot for the changes to take effect(NOTE:reserved for key system components)
4 Script exited without error and started a process in background mode
>4 For return values greater than 4 the action is same as return value 1, script encountered errors
NOTE: These are the only exit values acceptable. Returning an arbitrary non-zero exit value from a command to indicate failure may cause the script to appear to have been skipped in the checklist, or may cause the system to reboot
阅读(2583) | 评论(0) | 转发(0) |