summaryrefslogtreecommitdiff
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
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.
-rw-r--r--debian/control2
-rw-r--r--debian/itzks-systems-workstation.install1
-rwxr-xr-xetc/cron.daily/itzks-systems-workstation17
3 files changed, 20 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 12dfa24..75060a9 100644
--- a/debian/control
+++ b/debian/control
@@ -1006,6 +1006,7 @@ Depends:
itzks-systems-common (>= ${source:Version}),
debian-edu-config (>= 1.818+deb8u2~),
${misc:Depends},
+ anacron,
arj,
audacity,
bluefish,
@@ -1025,6 +1026,7 @@ Depends:
firmware-linux-nonfree,
firmware-realtek,
flashplugin-nonfree,
+ fping,
gcalctool,
gnome-colors-common,
git,
diff --git a/debian/itzks-systems-workstation.install b/debian/itzks-systems-workstation.install
index 79ffa96..677e58e 100644
--- a/debian/itzks-systems-workstation.install
+++ b/debian/itzks-systems-workstation.install
@@ -5,3 +5,4 @@ etc/.java etc/
etc/chromium/ etc/
share/glib-2.0/schemas/90_itzks+mate.gschema.override usr/share/glib-2.0/schemas/
sbin/itzks-switch-to-systemd-networkd usr/sbin/
+etc/cron.daily/itzks-systems-workstation /etc/cron.daily/
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
+