summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-mapupdate/ipkg/postrm
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-09-24 20:15:26 +0000
committerManuel Munz <freifunk@somakoma.de>2011-09-24 20:15:26 +0000
commit42a129f669159eee467e1198bcd84f38257d14d3 (patch)
treee783ad1e13230cf12e8e3305974f4e75d4e63f0d /contrib/package/freifunk-mapupdate/ipkg/postrm
parentbf49f78599a006a9d136d9fd83cecc5d8a5afb1a (diff)
contrib/package: Add update script for freifunkmap
Diffstat (limited to 'contrib/package/freifunk-mapupdate/ipkg/postrm')
-rw-r--r--contrib/package/freifunk-mapupdate/ipkg/postrm5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/package/freifunk-mapupdate/ipkg/postrm b/contrib/package/freifunk-mapupdate/ipkg/postrm
new file mode 100644
index 000000000..dc1a8704f
--- /dev/null
+++ b/contrib/package/freifunk-mapupdate/ipkg/postrm
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ sed -i '/ff_mapupdate.sh/d' /etc/crontabs/root
+ /etc/init.d/cron restart
+}