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.
michael@456 | 1 | #!@l_prefix@/bin/openpkg rc |
michael@456 | 2 | ## |
michael@456 | 3 | ## rc.sudo -- Run-Commands |
michael@456 | 4 | ## |
michael@456 | 5 | |
michael@456 | 6 | %config |
michael@456 | 7 | sudo_enable="$openpkg_rc_def" |
michael@456 | 8 | sudo_log_prolog="true" |
michael@456 | 9 | sudo_log_epilog="true" |
michael@456 | 10 | sudo_log_numfiles="10" |
michael@456 | 11 | sudo_log_minsize="1M" |
michael@456 | 12 | sudo_log_complevel="9" |
michael@456 | 13 | |
michael@456 | 14 | %daily -u @l_susr@ |
michael@456 | 15 | rcService sudo enable yes || exit 0 |
michael@456 | 16 | shtool rotate -f \ |
michael@456 | 17 | -n ${sudo_log_numfiles} -s ${sudo_log_minsize} -d \ |
michael@456 | 18 | -z ${sudo_log_complevel} -o @l_rusr@ -g @l_rgrp@ -m 644 \ |
michael@456 | 19 | -P "${sudo_log_prolog}" \ |
michael@456 | 20 | -E "${sudo_log_epilog}" \ |
michael@456 | 21 | @l_prefix@/var/sudo/sudo.log |
michael@456 | 22 |