Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92013
  • 博文数量: 42
  • 博客积分: 880
  • 博客等级: 准尉
  • 技术积分: 375
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-03 12:47
个人简介

学习笔记

文章分类

全部博文(42)

文章存档

2017年(2)

2011年(6)

2009年(1)

2007年(7)

2006年(26)

我的朋友

分类: LINUX

2007-03-08 11:05:45

At the process porting something SuSE specific  from SuSE to RH, I found the init scripts format is very different between them. But this information is needed by yast. I will conclude some of them at the following.

  • Init Infomation

The Default-Start and Default-Stop runlevel at SuSE is include between### BEGIN INIT INFO and ### END INIT INFO. It is # chkconfig: with three parameters: The default runlevels or a '-' as well as the start and stop priority levels at RH.

  • Action

The action try-restart is to do a restart only if the service was active before at SuSE. try-restart is now part of LSB (as of 1.9). RH has a similar command named condrestart.

阅读(1614) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~