]> git.pld-linux.org Git - packages/awffull.git/blobdiff - awffull.cron
- removed deprecated options
[packages/awffull.git] / awffull.cron
index e1b782f678795b04f49977d6c149a15480c3b853..5bbeca6abaea456b415ac97a329f81262fce9705 100644 (file)
@@ -5,17 +5,18 @@ CONFIG_LIST=""
 [ -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
        export LC_ALL
        
-       if [ -n "$QUIET" ] && [ "$QUIET" = "yes" -o "$QUIET" = "YES" ]; then
-               AWFFULL_OPTS="-q"
-       elif [ -n "$REALLY_QUIET" ] && [ "$REALLY_QUIET" = "yes" -o "$REALLY_QUIET" = "YES" ]; then
-               AWFFULL_OPTS="-Q"
-       fi
-       
        if [ -n "$MULTIPLE" ] && [ "$MULTIPLE" = "yes" -o "$MULTIPLE" = "YES" ]; then
                for config in $(ls /etc/awffull/*.conf 2>/dev/null); do\
                        CONFIG_LIST="${CONFIG_LIST} ${config}"
This page took 0.117789 seconds and 4 git commands to generate.