Where is rc.conf opensuse




















It can be considered roughly equivalent to the Summary: field in an RPM spec file. The Description: line in the LSB Header provides a more complete description of the actions of the initscript. It may span mulitple lines, where each continuation line must begin with a ' ' followed by tab character or a ' ' followed by at least two space characters. The multiline description is terminated by the first line that does not match this criteria.

This information is also displayed in the YaST runlevel editor. At the moment, the following system facility names are provided:. The start , stop , restart , force-reload , and status actions must be supported by all init scripts. The reload action is optional. SystemV-style initscripts should support both the try-restart and condrestart action.

These two actions are intended to serve an identical purpose, and must not differ in behavior. In fact, it is highly recommended that packagers implement try-restart and condrestart and as equivalent options in the case statement:. You are not prohibited from adding other commands, but you should list all commands which you intend to be used interactively to the usage message. It defines the following exit status codes for init scripts except for the status action, see below :.

For all other initscript actions, the init script must return an exit status of zero if the action was successful. In addition to straightforward success, the following situations are also to be considered successful:. They can be sourced into the init scripts this way:. This function checks whether a service is enabled by symlinks. This function terminates an init script with the exit status appropriate to the overall rc status. This function sets the local and the overall rc status to a selected value defined by the parameter num.

This function is used internally by other rc status functions. This function checks, sets, and displays the rc status. So, it must be called with an option to display the status. The options have the following meaning:. The init script is usually included in the package sources and an extra source file.

A valid exception to this rule would be existing packages where configuration is still done via the init file. It is useful for init scripts that can be started, stopped, restarted by hand. Finally, the init script can be enabled after the package is installed and must be disabled after the package is removed.

The service should be restarted after an update and should be stopped before the package is removed. Thats where we need help. Last edited by saivin; at PM. Wikipedia has a brief explanation here. Note what it says under SysV: Advantages: Flexibility and scalability. Problems: Complexity. The Debian Reference Manual might be of more help than the link above. Hi bro, Thanks for making the distinction clear. The wiki link was good. I also googled with 'linux initialization' and found this link: linux initialization.

Good read for anybody who wants to go deep. The process is decentralised i. For eg: my friend wanted to change the hostname of his system. But no luck. The original post is more than a year old, the OP might have become guru by this time! I got this thread as a search result as I was also looking for a 'rc. Hope this thread will help some newbie like me. Last edited by saivin; at AM. This guide should hit them all and allow you to make the change without rebooting.

Should work for All distros.. Hi Farslayer, Went through the link. Pretty good information. Had problems before changing hostnames. One method would not work the other time. Now, I know why and what to do. Thanks a lot. I was rather surprised the first time I did it as well.. That guide solved the issue perfectly for me, so I've tried to keep track of it since that time. I did give credit to the source Glad you find the info useful.

Hi Everyone, I found a lot of answers on this forum. Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled i.

The standard files stated in FreeBSD man page on rc. Usually for extending pfSense you need to use packages or some other form. Trying to start ezjail and enable zfs to mount zpool at boot time.



0コメント

  • 1000 / 1000