From: Jo-Philipp Wich Date: Thu, 8 Jan 2015 15:31:40 +0000 (+0100) Subject: Remove obsolete ipkg directories X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=50b258a1d42c12e9f13e31282d6d555a1a9fcf32;p=project%2Fluci.git Remove obsolete ipkg directories Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-asterisk/ipkg/postinst b/applications/luci-app-asterisk/ipkg/postinst deleted file mode 100755 index a4fae6df1d..0000000000 --- a/applications/luci-app-asterisk/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-asterisk ) && rm -f /etc/uci-defaults/luci-asterisk - /etc/init.d/asterisk enabled || /etc/init.d/asterisk enable - exit 0 -} diff --git a/applications/luci-app-ddns/ipkg/postinst b/applications/luci-app-ddns/ipkg/postinst deleted file mode 100644 index a2c13fa34c..0000000000 --- a/applications/luci-app-ddns/ipkg/postinst +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-ddns ) && rm -f /etc/uci-defaults/luci-ddns - exit 0 -} diff --git a/applications/luci-app-freifunk-diagnostics/ipkg/postinst b/applications/luci-app-freifunk-diagnostics/ipkg/postinst deleted file mode 100644 index cc814c365c..0000000000 --- a/applications/luci-app-freifunk-diagnostics/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-freifunk-diagnostics ) && rm -f /etc/uci-defaults/luci-freifunk-diagnostics -} diff --git a/applications/luci-app-hd-idle/ipkg/postinst b/applications/luci-app-hd-idle/ipkg/postinst deleted file mode 100644 index c12bac57f2..0000000000 --- a/applications/luci-app-hd-idle/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-hd_idle ) && rm -f /etc/uci-defaults/luci-hd_idle - /etc/init.d/hd-idle enabled || /etc/init.d/hd-idle enable - exit 0 -} diff --git a/applications/luci-app-meshwizard/ipkg/postinst b/applications/luci-app-meshwizard/ipkg/postinst deleted file mode 100644 index 0599082efe..0000000000 --- a/applications/luci-app-meshwizard/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/meshwizard ) && rm -f /etc/uci-defaults/meshwizard -} diff --git a/applications/luci-app-mjpg-streamer/ipkg/postinst b/applications/luci-app-mjpg-streamer/ipkg/postinst deleted file mode 100644 index cfca9d308f..0000000000 --- a/applications/luci-app-mjpg-streamer/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-mjpg-streamer ) && rm -f /etc/uci-defaults/luci-mjpg-streamer - /etc/init.d/mjpg-streamer enabled || /etc/init.d/mjpg-streamer enable - exit 0 -} diff --git a/applications/luci-app-mmc-over-gpio/ipkg/postinst b/applications/luci-app-mmc-over-gpio/ipkg/postinst deleted file mode 100644 index 6d18799af9..0000000000 --- a/applications/luci-app-mmc-over-gpio/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-mmc-over-gpio ) && rm -f /etc/uci-defaults/luci-mmc-over-gpio - /etc/init.d/mmc_over_gpio enabled || /etc/init.d/mmc_over_gpio enable - exit 0 -} diff --git a/applications/luci-app-olsr/ipkg/postinst b/applications/luci-app-olsr/ipkg/postinst deleted file mode 100755 index 8d9a034a19..0000000000 --- a/applications/luci-app-olsr/ipkg/postinst +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-olsr ) && rm -f /etc/uci-defaults/luci-olsr - /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable - /etc/init.d/olsrd6 enabled || /etc/init.d/olsrd6 enable - exit 0 -} diff --git a/applications/luci-app-p2pblock/ipkg/postinst b/applications/luci-app-p2pblock/ipkg/postinst deleted file mode 100755 index 448025b761..0000000000 --- a/applications/luci-app-p2pblock/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-p2pblock ) && rm -f /etc/uci-defaults/luci-p2pblock - /etc/init.d/freifunk-p2pblock enabled || /etc/init.d/freifunk-p2pblock enable - exit 0 -} diff --git a/applications/luci-app-p910nd/ipkg/postinst b/applications/luci-app-p910nd/ipkg/postinst deleted file mode 100644 index 36a91e21b1..0000000000 --- a/applications/luci-app-p910nd/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-p910nd ) && rm -f /etc/uci-defaults/luci-p910nd - /etc/init.d/p910nd enabled || /etc/init.d/p910nd enable - exit 0 -} diff --git a/applications/luci-app-polipo/ipkg/postinst b/applications/luci-app-polipo/ipkg/postinst deleted file mode 100755 index 0e23e2a4ae..0000000000 --- a/applications/luci-app-polipo/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/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 - exit 0 -} diff --git a/applications/luci-app-radvd/ipkg/postinst b/applications/luci-app-radvd/ipkg/postinst deleted file mode 100644 index 88aaf83308..0000000000 --- a/applications/luci-app-radvd/ipkg/postinst +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-radvd ) && rm -f /etc/uci-defaults/luci-radvd - /etc/init.d/radvd enabled || /etc/init.d/radvd enable - exit 0 -} diff --git a/applications/luci-app-splash/ipkg/postinst b/applications/luci-app-splash/ipkg/postinst deleted file mode 100755 index a87729e431..0000000000 --- a/applications/luci-app-splash/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -[ -n "${IPKG_INSTROOT}" ] || { - /etc/init.d/luci_splash enabled || /etc/init.d/luci_splash enable - exit 0 -} diff --git a/applications/luci-app-statistics/ipkg/postinst b/applications/luci-app-statistics/ipkg/postinst deleted file mode 100755 index 7e81b3667f..0000000000 --- a/applications/luci-app-statistics/ipkg/postinst +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-statistics ) && rm -f /etc/uci-defaults/luci-statistics - - /etc/init.d/luci_statistics enabled || /etc/init.d/luci_statistics enable - /etc/init.d/collectd enabled || /etc/init.d/collectd enable - - exit 0 -} diff --git a/applications/luci-app-ushare/ipkg/postinst b/applications/luci-app-ushare/ipkg/postinst deleted file mode 100644 index 54b1a33b4d..0000000000 --- a/applications/luci-app-ushare/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-ushare ) && rm -f /etc/uci-defaults/luci-ushare - /etc/init.d/ushare enabled || /etc/init.d/ushare enable - exit 0 -} diff --git a/applications/luci-app-vnstat/ipkg/postinst b/applications/luci-app-vnstat/ipkg/postinst deleted file mode 100755 index 816084a489..0000000000 --- a/applications/luci-app-vnstat/ipkg/postinst +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-vnstat ) && rm -f /etc/uci-defaults/luci-vnstat - /etc/init.d/vnstat enabled || /etc/init.d/vnstat enable - exit 0 -} diff --git a/applications/luci-app-watchcat/ipkg/postinst b/applications/luci-app-watchcat/ipkg/postinst deleted file mode 100644 index 99114604ac..0000000000 --- a/applications/luci-app-watchcat/ipkg/postinst +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -me="watchcat" -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-$me ) && rm -f /etc/uci-defaults/luci-$me - /etc/init.d/$me enabled || /etc/init.d/$me enable - exit 0 -} diff --git a/applications/luci-app-wshaper/ipkg/postinst b/applications/luci-app-wshaper/ipkg/postinst deleted file mode 100644 index dad884259d..0000000000 --- a/applications/luci-app-wshaper/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/wshaper ) && rm -f /etc/uci-defaults/wshaper - exit 0 -} - diff --git a/contrib/package/freifunk-common/ipkg/postinst b/contrib/package/freifunk-common/ipkg/postinst deleted file mode 100755 index 52bedb2d4a..0000000000 --- a/contrib/package/freifunk-common/ipkg/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -[ -n "${IPKG_INSTROOT}" ] || { - /etc/init.d/freifunk enabled || /etc/init.d/freifunk enable - exit 0 -} diff --git a/contrib/package/freifunk-gwcheck/ipkg/postinst b/contrib/package/freifunk-gwcheck/ipkg/postinst deleted file mode 100644 index 1c5308ff69..0000000000 --- a/contrib/package/freifunk-gwcheck/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/freifunk-gwcheck ) && rm -f /etc/uci-defaults/freifunk-gwcheck -} diff --git a/contrib/package/freifunk-gwcheck/ipkg/postrm b/contrib/package/freifunk-gwcheck/ipkg/postrm deleted file mode 100644 index 18e4a07d01..0000000000 --- a/contrib/package/freifunk-gwcheck/ipkg/postrm +++ /dev/null @@ -1,5 +0,0 @@ -#!/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 -} diff --git a/contrib/package/freifunk-mapupdate/ipkg/postinst b/contrib/package/freifunk-mapupdate/ipkg/postinst deleted file mode 100644 index 284469730c..0000000000 --- a/contrib/package/freifunk-mapupdate/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/freifunk-mapupdate ) && rm -f /etc/uci-defaults/freifunk-mapupdate -} diff --git a/contrib/package/freifunk-mapupdate/ipkg/postrm b/contrib/package/freifunk-mapupdate/ipkg/postrm deleted file mode 100644 index dc1a8704f7..0000000000 --- a/contrib/package/freifunk-mapupdate/ipkg/postrm +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - sed -i '/ff_mapupdate.sh/d' /etc/crontabs/root - /etc/init.d/cron restart -} diff --git a/i18n/catalan/ipkg/postinst b/i18n/catalan/ipkg/postinst deleted file mode 100755 index 48be5724bc..0000000000 --- a/i18n/catalan/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-catalan ) && rm -f /etc/uci-defaults/luci-i18n-catalan -} diff --git a/i18n/chinese/ipkg/postinst b/i18n/chinese/ipkg/postinst deleted file mode 100644 index 9fbec28ca1..0000000000 --- a/i18n/chinese/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-chinese ) && rm -f /etc/uci-defaults/luci-i18n-chinese -} diff --git a/i18n/english/ipkg/postinst b/i18n/english/ipkg/postinst deleted file mode 100755 index 24cf8dd2d3..0000000000 --- a/i18n/english/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-english ) && rm -f /etc/uci-defaults/luci-i18n-english -} diff --git a/i18n/french/ipkg/postinst b/i18n/french/ipkg/postinst deleted file mode 100755 index e220e4dca6..0000000000 --- a/i18n/french/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-french ) && rm -f /etc/uci-defaults/luci-i18n-french -} diff --git a/i18n/german/ipkg/postinst b/i18n/german/ipkg/postinst deleted file mode 100755 index c5af662874..0000000000 --- a/i18n/german/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-german ) && rm -f /etc/uci-defaults/luci-i18n-german -} diff --git a/i18n/greek/ipkg/postinst b/i18n/greek/ipkg/postinst deleted file mode 100755 index cfd1512d3b..0000000000 --- a/i18n/greek/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-greek ) && rm -f /etc/uci-defaults/luci-i18n-greek -} diff --git a/i18n/hebrew/ipkg/postinst b/i18n/hebrew/ipkg/postinst deleted file mode 100755 index 78010a4801..0000000000 --- a/i18n/hebrew/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-hebrew ) && rm -f /etc/uci-defaults/luci-i18n-hebrew -} diff --git a/i18n/hungarian/ipkg/postinst b/i18n/hungarian/ipkg/postinst deleted file mode 100755 index 7f69ba7528..0000000000 --- a/i18n/hungarian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-hungarian ) && rm -f /etc/uci-defaults/luci-i18n-hungarian -} diff --git a/i18n/italian/ipkg/postinst b/i18n/italian/ipkg/postinst deleted file mode 100755 index 623ef1c8a9..0000000000 --- a/i18n/italian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-italian ) && rm -f /etc/uci-defaults/luci-i18n-italian -} diff --git a/i18n/japanese/ipkg/postinst b/i18n/japanese/ipkg/postinst deleted file mode 100755 index aaa44e2669..0000000000 --- a/i18n/japanese/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-japanese ) && rm -f /etc/uci-defaults/luci-i18n-japanese -} diff --git a/i18n/norwegian/ipkg/postinst b/i18n/norwegian/ipkg/postinst deleted file mode 100755 index 0b6c62d4f8..0000000000 --- a/i18n/norwegian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-norwegian ) && rm -f /etc/uci-defaults/luci-i18n-norwegian -} diff --git a/i18n/polish/ipkg/postinst b/i18n/polish/ipkg/postinst deleted file mode 100755 index c562629e20..0000000000 --- a/i18n/polish/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-polish ) && rm -f /etc/uci-defaults/luci-i18n-polish -} diff --git a/i18n/portuguese-brazilian/ipkg/postinst b/i18n/portuguese-brazilian/ipkg/postinst deleted file mode 100755 index fc33156635..0000000000 --- a/i18n/portuguese-brazilian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-portuguese_brazilian ) && rm -f /etc/uci-defaults/luci-i18n-portuguese_brazilian -} diff --git a/i18n/portuguese/ipkg/postinst b/i18n/portuguese/ipkg/postinst deleted file mode 100755 index cc97e03e82..0000000000 --- a/i18n/portuguese/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-portuguese ) && rm -f /etc/uci-defaults/luci-i18n-portuguese -} diff --git a/i18n/romanian/ipkg/postinst b/i18n/romanian/ipkg/postinst deleted file mode 100755 index d8f3b85a25..0000000000 --- a/i18n/romanian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-romanian ) && rm -f /etc/uci-defaults/luci-i18n-romanian -} diff --git a/i18n/russian/ipkg/postinst b/i18n/russian/ipkg/postinst deleted file mode 100755 index 7ace4822d0..0000000000 --- a/i18n/russian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-russian ) && rm -f /etc/uci-defaults/luci-i18n-russian -} diff --git a/i18n/swedish/ipkg/postinst b/i18n/swedish/ipkg/postinst deleted file mode 100755 index eac6e34483..0000000000 --- a/i18n/swedish/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-swedish ) && rm -f /etc/uci-defaults/luci-i18n-swedish -} diff --git a/i18n/ukrainian/ipkg/postinst b/i18n/ukrainian/ipkg/postinst deleted file mode 100755 index ba9a7af0d9..0000000000 --- a/i18n/ukrainian/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-ukrainian ) && rm -f /etc/uci-defaults/luci-i18n-ukrainian -} diff --git a/i18n/vietnamese/ipkg/postinst b/i18n/vietnamese/ipkg/postinst deleted file mode 100755 index cda03df718..0000000000 --- a/i18n/vietnamese/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-i18n-vietnamese ) && rm -f /etc/uci-defaults/luci-i18n-vietnamese -} diff --git a/themes/luci-theme-bootstrap/ipkg/postinst b/themes/luci-theme-bootstrap/ipkg/postinst deleted file mode 100755 index 8a2dd18d26..0000000000 --- a/themes/luci-theme-bootstrap/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-theme-bootstrap ) && rm -f /etc/uci-defaults/luci-theme-bootstrap -} diff --git a/themes/luci-theme-freifunk-bno/ipkg/postinst b/themes/luci-theme-freifunk-bno/ipkg/postinst deleted file mode 100755 index 5972881a89..0000000000 --- a/themes/luci-theme-freifunk-bno/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-theme-freifunk-bno ) && rm -f /etc/uci-defaults/luci-theme-freifunk-bno -} diff --git a/themes/luci-theme-freifunk-generic/ipkg/postinst b/themes/luci-theme-freifunk-generic/ipkg/postinst deleted file mode 100644 index 76edf36217..0000000000 --- a/themes/luci-theme-freifunk-generic/ipkg/postinst +++ /dev/null @@ -1,3 +0,0 @@ -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-theme-freifunk-generic ) && rm -f /etc/uci-defaults/luci-theme-freifunk-generic -} diff --git a/themes/luci-theme-openwrt/ipkg/postinst b/themes/luci-theme-openwrt/ipkg/postinst deleted file mode 100755 index 48ea52273f..0000000000 --- a/themes/luci-theme-openwrt/ipkg/postinst +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-theme-openwrt ) && rm -f /etc/uci-defaults/luci-theme-openwrt -}