summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBenjamin Schlüter <bschlueter@posteo.de>2017-04-25 15:03:30 +0200
committerBenjamin Schlüter <bschlueter@posteo.de>2017-04-25 15:03:30 +0200
commitb4c725c73167a18985e1a3507ed66dd45c2f05c3 (patch)
tree7393bd1dc077d60cbae3a54fbaa0d4db91756993 /etc
parentdf7fb10611ac19c2ce561c41b861d77c74c11d4d (diff)
downloaditzks-systems-b4c725c73167a18985e1a3507ed66dd45c2f05c3.tar.gz
itzks-systems-b4c725c73167a18985e1a3507ed66dd45c2f05c3.tar.bz2
itzks-systems-b4c725c73167a18985e1a3507ed66dd45c2f05c3.zip
itzks-systems-workstation: Add cronjobs for flashplugin and proxy-settings via WPAD.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/cron.daily/itzks-systems-workstation17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/cron.daily/itzks-systems-workstation b/etc/cron.daily/itzks-systems-workstation
new file mode 100755
index 0000000..15d4707
--- /dev/null
+++ b/etc/cron.daily/itzks-systems-workstation
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+MAILTO=root
+PATH=/usr/bin:/bin:/usr/sbin:/sbin
+
+# Update Proxy from wpad every day
+if [ -x /usr/share/debian-edu-config/tools/update-proxy-from-wpad ]; then
+ /usr/share/debian-edu-config/tools/update-proxy-from-wpad 2>&1 1>/dev/null
+fi
+
+# Run update-flashplugin-nonfree daily (only if installed)
+if which update-flashplugin-nonfree 1>/dev/null; then
+ if fping people.debian.org 1>/dev/null; then
+ update-flashplugin-nonfree --install 2>&1 1>/dev/null
+ fi
+fi
+