diff options
Diffstat (limited to 'etc/cron.daily/itzks-systems-workstation')
-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 + |