Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
1 #!@l_prefix@/bin/openpkg rc
2 ##
3 ## rc.sudo -- Run-Commands
4 ##
6 %config
7 sudo_enable="$openpkg_rc_def"
8 sudo_log_prolog="true"
9 sudo_log_epilog="true"
10 sudo_log_numfiles="10"
11 sudo_log_minsize="1M"
12 sudo_log_complevel="9"
14 %daily -u @l_susr@
15 rcService sudo enable yes || exit 0
16 shtool rotate -f \
17 -n ${sudo_log_numfiles} -s ${sudo_log_minsize} -d \
18 -z ${sudo_log_complevel} -o @l_rusr@ -g @l_rgrp@ -m 644 \
19 -P "${sudo_log_prolog}" \
20 -E "${sudo_log_epilog}" \
21 @l_prefix@/var/sudo/sudo.log