Re: howto: write a init script



Why don't you start with one in /etc/init.d and modify to you needs?

I've done that myself a couple of times, and I can never seem to
get it to act exactly like the script I started with. It always
seems to echo an extra blank line or the [status] doesn't come out
at the end of the line or with the right color or something else
looks screwy and non-compatible with the output it generates.

I'd be very curious to see some documentation for init script
conventions to follow to get all these nit-picky details to
come out right.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: [9fans] make slides in plan 9
    ... i use an rc script and awk to take an outline format such as ... with some other conventions to allow embedded code fragments. ... write ordinary troff, ...
    (comp.os.plan9)
  • Re: OT: Bash script help needed
    ... A little script like this would do what you want assuming the naming ... conventions as above. ... http://www.grymoire.com/Unix/Sed.html is a great sed tut. ...
    (Ubuntu)
  • Re: runlevel editor freezes
    ... script here, so we can have a look. ... # LSB compatible service control script; ... # Hard dependencies: This is used by the runlevel editor to determine ... # Specifying the init script ordering, ...
    (alt.os.linux.suse)
  • Re: How to debug system reboot/shutdown procedure?
    ... Init script for rp-pppoe is doing it's job ok, ... unmount those filesystems. ...
    (comp.unix.solaris)
  • Re: nforce kernel modules
    ... > I went back and looked at the init script. ... > relies on a successful modprobe of the various modules to actually ... could be checked that would work for both module and monolithic kernels. ...
    (Debian-User)