| 12345678910111213141516171819202122 | #!/bin/bash## LEAK_DETECTIVE_LOG is set for automated runs, however, `service` strips# the environment. This wrapper is used to set the variable for the charon# init script.ORIG=/usr/sbin/serviceCONF=/etc/default/charonif [[ "$1" != "charon" ]]; then	$ORIG "$@"fiif [[ "$2" == "start" && -n $LEAK_DETECTIVE_LOG ]]; then	echo "export LEAK_DETECTIVE_LOG=$LEAK_DETECTIVE_LOG" >> $CONFfi$ORIG "$@"if [[ "$2" == "stop" ]]; then	sed -i '/LEAK_DETECTIVE_LOG/d' $CONF 2>/dev/nullfi
 |