Here's a couple of things needed for installing on debian after make install:
1/ comment out <#. /etc/rc.d/init.d/functions
Use init-functions instead >. /lib/lsb/init-functions
2/ Remove references to initlog since debian doesn't use it.
<#initlog -c "$SUDOSCRIPTD" $OPTS && success || failure
Also remove the success || failure >"$SUDOSCRIPTD" $OPTS #&& success || failure
You can optionally add the following:
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/sudoscriptd && echo " success"
and
[ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/susoscriptd && echo " stopped"
-harry
Log in to post a comment.
Here's a couple of things needed for installing on debian after make install:
1/ comment out
<#. /etc/rc.d/init.d/functions
Use init-functions instead
>. /lib/lsb/init-functions
2/ Remove references to initlog since debian doesn't use it.
<#initlog -c "$SUDOSCRIPTD" $OPTS && success || failure
Also remove the success || failure
>"$SUDOSCRIPTD" $OPTS #&& success || failure
You can optionally add the following:
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/sudoscriptd && echo " success"
and
[ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/susoscriptd && echo " stopped"
-harry