luci/contrib/package/freifunk-mapupdate/ipkg/postrm

5 lines
117 B
Bash

#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
sed -i '/ff_mapupdate.sh/d' /etc/crontabs/root
/etc/init.d/cron restart
}