diff options
author | Benjamin Schlüter <bschlueter@posteo.de> | 2017-04-25 15:03:30 +0200 |
---|---|---|
committer | Benjamin Schlüter <bschlueter@posteo.de> | 2017-04-25 15:03:30 +0200 |
commit | b4c725c73167a18985e1a3507ed66dd45c2f05c3 (patch) | |
tree | 7393bd1dc077d60cbae3a54fbaa0d4db91756993 /etc | |
parent | df7fb10611ac19c2ce561c41b861d77c74c11d4d (diff) | |
download | itzks-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-x | etc/cron.daily/itzks-systems-workstation | 17 |
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 + |