Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5702005
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-06-09 12:28:33

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
阅读(2577) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~