summaryrefslogtreecommitdiff
path: root/etc/cron.daily/itzks-systems-workstation
blob: 15d4707ba35835c3bdf960977c180dfd97542985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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