we need to the path to initscripts and also make it executable

svn path=/nixpkgs/trunk/; revision=4411
This commit is contained in:
Armijn Hemel 2005-12-22 18:16:10 +00:00
parent 57067bba9e
commit 8a01ee072a
2 changed files with 3 additions and 1 deletions

View File

@ -7,3 +7,5 @@ sed -e "s^@bash\@^$bash^g" \
-e "s^@initscripts\@^$initscripts^g" \
-e "s^@coreutils\@^$coreutils^g" \
< $script > $out/control
chmod +x $out/control

View File

@ -95,7 +95,7 @@ start()
do_dsa_keygen
echo -n $"Starting $prog:"
initlog -c "$SSHD $OPTIONS" && success || failure
@initscripts@/sbin/initlog -c "$SSHD $OPTIONS" && success || failure
RETVAL=$?
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/sshd
echo