Changed files:
awffull.cron -> 1.9
awffull.sysconfig -> 1.4
[ -f /etc/sysconfig/awffull ] && . /etc/sysconfig/awffull
umask 0022
+if [ -n "$FORCE_USER" ]; then
+ if [ "$FORCE_USER" != "`id -un`" ]; then
+ echo "Wrong current user. $FORCE_USER is required!"
+ exit 1
+ fi
+fi
+
if [ -n "$ENABLE" ] && [ "$ENABLE" = "yes" -o "$ENABLE" = "YES" ]; then
LC_ALL=$LANG
export LANG
ENABLE="no"
# Output language
-# LANG="pl_PL"
+# LANG="pl_PL.UTF-8"
# Allow multiple configs in /etc/awffull/
# Files must have names: *.conf
# QUIET="yes"
# Don't display any messages
-#REALLY_QUIET="yes"
+# REALLY_QUIET="yes"
+# Force checking if awffull is done with proper user rights
+FORCE_USER="stats"