This patch adds a feature to rc-update that syncs a runlevel with current running services. useful for creating runlevels on the fly and in first-time installation.
Created attachment 27261 [details, diff] patch against rc-update, baselayout-1.8.6.13
Created attachment 27262 [details, diff] minor spelling error
Created attachment 33055 [details, diff] rc-update-current.patch Since current's arg is not mandatory, changed the "usage" to reflect that.
Created attachment 33056 [details, diff] rc-update-manpage.patch Patch for the manpage to describe the functionality.
not quite sure what this does ... could you describe it in a bit more detail so we fully understand what it is you're going for ?
Say you are building a server. you start all the services you want and everything is ok. now, instead of manually using "rc-update add" per each services as you would usually do, you just "rc-update current default" and gets this done with. It scans the runlevel for differences and add/removes the services as needed.
WONTFIX?
closing on lack of interest