introduce a rudimentary (working) form of the topological sort principle.

We can now start SSH with optional syslogging support. Also, if a program
is not already present in the /etc/rc.d "profile" (actually, not it has become
a collection of profiles) it will be automatically added.

This sounds hackish, and it probably is, but also, it might be the best
workable solution for now...

svn path=/nixpkgs/trunk/; revision=5044
This commit is contained in:
Armijn Hemel
2006-03-15 15:51:32 +00:00
parent 617d06c71c
commit 3d24096431
7 changed files with 35 additions and 10 deletions

View File

@@ -109,7 +109,6 @@ stopService()
{
echo -n $"Stopping $prog:"
#killproc $SSHD -TERM
echo "blaat"
@coreutils@/bin/kill `@coreutils@/bin/cat /var/run/sshd.pid`
RETVAL=$?
[ "$RETVAL" = 0 ] && @coreutils@/bin/rm -f /var/lock/subsys/sshd