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

5 lines
140 B
Bash

#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
sed -i '/gw-check/d' /etc/iproute2/rt_tables
sed -i '/ff_olsr_test_gw.sh/d' /etc/crontabs/root
}