post-merge: Use absolute path for invoke-rc.d.

When the hook is triggered due to an cron job, the path may
not contain "/usr/sbin/" and thus the daemon reload is not happening.
This commit is contained in:
Daniel Ehlers 2015-02-18 10:14:38 +01:00
parent 733c614ded
commit c430991d41

View file

@ -25,6 +25,6 @@ for HOST in hosts/*; do
echo "ConnectTo = ${HOST##*/}" >> $TINCCFG echo "ConnectTo = ${HOST##*/}" >> $TINCCFG
done done
invoke-rc.d tinc reload icvpn /usr/sbin/invoke-rc.d tinc reload icvpn
exit 0 exit 0