flm01/mote/v1/openwrt/package/luci/applications/luci-polipo/ipkg/postinst

6 lines
176 B
Bash
Executable File

#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-polipo ) && rm -f /etc/uci-defaults/luci-polipo
/etc/init.d/polipo enabled || /etc/init.d/polipo enable
}