#!/bin/bash

. ${TOOLKIT}-functions.sh

#----------------------------------------------------------------
# /etc/sudoers patching
#----------------------------------------------------------------

orig=/etc/sudoers
outfile=sudoers.tmp
cp $orig $outfile || exit $?

# if needed, add 'kusa' group with admin privileges
#
file=`filepath sudoers.addon` && {
	patchfile "patch-ku-sudoers-20120323" $outfile $file || exit $?
}

exit 0
