1 |
brianr |
1.1 |
diff -Nur smeserver-vacation-1.1.9661.old/root/sbin/e-smith/vacation/check_vacation_dates.sh smeserver-vacation-1.1.9661.new/root/sbin/e-smith/vacation/check_vacation_dates.sh |
2 |
|
|
--- smeserver-vacation-1.1.9661.old/root/sbin/e-smith/vacation/check_vacation_dates.sh 2016-07-08 04:15:46.184929180 +0200 |
3 |
|
|
+++ smeserver-vacation-1.1.9661.new/root/sbin/e-smith/vacation/check_vacation_dates.sh 2016-07-08 04:17:29.142761069 +0200 |
4 |
|
|
@@ -23,11 +23,13 @@ |
5 |
|
|
then |
6 |
|
|
echo "Happy holidays, $key" |
7 |
|
|
db accounts setprop $key EmailVacation yes |
8 |
|
|
+ /etc/e-smith/events/actions/qmail-update-user event $key |
9 |
|
|
|
10 |
|
|
elif [ `db accounts getprop $key EmailVacationTo` == $CURRENT_DATE ] |
11 |
|
|
then |
12 |
|
|
echo "Back to work, $key" |
13 |
|
|
db accounts setprop $key EmailVacation no |
14 |
|
|
+ /etc/e-smith/events/actions/qmail-update-user event $key |
15 |
|
|
|
16 |
|
|
else |
17 |
|
|
echo "Nothing to do for $key" |