Share

sysv-rc-conf

Code

Repositories

browse code, statistics, last commit on 2006-07-12 cvs -d:pserver:anonymous@sysv-rc-conf.cvs.sourceforge.net:/cvsroot/sysv-rc-conf login

cvs -z3 -d:pserver:anonymous@sysv-rc-conf.cvs.sourceforge.net:/cvsroot/sysv-rc-conf co -P modulename

Show:

What's happening?

  • Comment: --restore option

    edit--- of course it is: sysv-rc-conf --restore myservices and not sysv-rc-conf --restore mycachefile sorry. And i created myservices file in this way: sysv-rc-conf --cache myservices.

    2009-06-05 07:28:34 UTC by pmate

  • --restore option

    If i want to restore a previous init.d scripts configuration and priority (for example during a multi-installation or a system recovery) i give the command: awk '{ print "sysv-rc-conf --level " $1 " " $4 " " ($2 == "S" ? "on": "off"); }' /var/lib/sysv-rc-conf/myservices I think it would be very useful to add a --restore option that would perform the same result but in this way...

    2009-06-05 06:36:13 UTC by pmate

  • Comment: Turning off services results in invalid priority numbers

    Looking at my backups, it looks like I had /etc/rc2.d/K00 scripts that sysv-rc-conf was basing things on, so that means that this block in the code will return a 100: # Ok, try to match on any runlevel with either S or K foreach (@cache) { next unless /^[\dsS]\s+([SK])\s+(\d\d)\s+$sn$/; verbose("Returning difference of 100 and $2: $_"); # Sequence numbers...

    2008-09-01 17:09:20 UTC by micah_anderson

  • Turning off services results in invalid priority numbers

    If I issue: # sysv-rc-conf postfix off In some situations, I will end up with /etc/rc2.d/K00postfix. If I then try to turn on this service, say with: sysv-rc-conf --level 3 postfix on this results in sysv-rc-conf doing a calculation resulting in start priority 100, which is an invalid priority according to sysv-rc-conf, so the following error occurs: Priority isn't two numbers...

    2008-09-01 16:13:10 UTC by micah_anderson

  • Followup: RE: Welcome to Open Discussion

    hi, ya! thanks for this util! i use it all the time. it is very reliable and does exactly what it should. very handy indeed...the only bug i recognized (or is it a feature ,)) is that i cannot clear the screen with C-l whilst using it. whenever i got messages on the terminal i got to quit and start it again. no bother anyway, since it is a small program which starts very fast. regards bubo.

    2008-06-13 02:55:11 UTC by bubo_ignauus

  • sysv-rc-conf

    radiojoe committed patchset 131 of module sysv-rc-conf to the sysv-rc-conf CVS repository, changing 2 files.

    2006-07-12 18:38:56 UTC by radiojoe

  • sysv-rc-conf

    radiojoe committed patchset 130 of module sysv-rc-conf to the sysv-rc-conf CVS repository, changing 1 files.

    2005-07-12 20:26:21 UTC by radiojoe

  • sysv-rc-conf

    radiojoe committed patchset 129 of module sysv-rc-conf to the sysv-rc-conf CVS repository, changing 1 files.

    2005-05-11 18:06:04 UTC by radiojoe

  • sysv-rc-conf

    radiojoe committed patchset 128 of module sysv-rc-conf to the sysv-rc-conf CVS repository, changing 3 files.

    2005-05-11 17:57:57 UTC by radiojoe

  • sysv-rc-conf

    radiojoe committed patchset 127 of module sysv-rc-conf to the sysv-rc-conf CVS repository, changing 1 files.

    2005-05-07 20:05:46 UTC by radiojoe

Our Numbers