we need to the path to initscripts and also make it executable
svn path=/nixpkgs/trunk/; revision=4411
This commit is contained in:
parent
57067bba9e
commit
8a01ee072a
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue