diff options
Diffstat (limited to 'contrib/package/freifunk-mapupdate/ipkg/postrm')
-rw-r--r-- | contrib/package/freifunk-mapupdate/ipkg/postrm | 5 |
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 +} |