From d204b0e24fd4b30027602388e732b70e2747654f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 13 Jan 2014 18:24:15 +0100 Subject: [PATCH] Remove initscript enable/disable hacks Better configure these properly. --- .../lib/gluon/upgrade/alfred/invariant/010-enable-alfred | 2 -- .../lib/gluon/upgrade/core/invariant/010-disable-services | 5 ----- .../files/lib/gluon/upgrade/cron/invariant/010-enable-cron | 4 ---- .../lib/gluon/upgrade/ebtables/invariant/010-enable-ebtables | 3 --- package/gluon-mesh-vpn-fastd/Makefile | 1 - .../gluon/upgrade/mesh-vpn-fastd/invariant/010-enable-fastd | 3 --- 6 files changed, 18 deletions(-) delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-disable-services delete mode 100755 package/gluon-cron/files/lib/gluon/upgrade/cron/invariant/010-enable-cron delete mode 100755 package/gluon-ebtables/files/lib/gluon/upgrade/ebtables/invariant/010-enable-ebtables delete mode 100755 package/gluon-mesh-vpn-fastd/files/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-enable-fastd diff --git a/package/gluon-alfred/files/lib/gluon/upgrade/alfred/invariant/010-enable-alfred b/package/gluon-alfred/files/lib/gluon/upgrade/alfred/invariant/010-enable-alfred index 755fff3b..fb75e8e1 100755 --- a/package/gluon-alfred/files/lib/gluon/upgrade/alfred/invariant/010-enable-alfred +++ b/package/gluon-alfred/files/lib/gluon/upgrade/alfred/invariant/010-enable-alfred @@ -12,5 +12,3 @@ uci_set alfred alfred start_vis '1' uci_set alfred alfred run_facters '0' uci_commit alfred - -/etc/init.d/alfred enable diff --git a/package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-disable-services b/package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-disable-services deleted file mode 100755 index c4152059..00000000 --- a/package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-disable-services +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -/etc/init.d/dnsmasq disable -/etc/init.d/telnet disable -/etc/init.d/uhttpd disable diff --git a/package/gluon-cron/files/lib/gluon/upgrade/cron/invariant/010-enable-cron b/package/gluon-cron/files/lib/gluon/upgrade/cron/invariant/010-enable-cron deleted file mode 100755 index 46391527..00000000 --- a/package/gluon-cron/files/lib/gluon/upgrade/cron/invariant/010-enable-cron +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -/etc/init.d/gluon-cron enable - diff --git a/package/gluon-ebtables/files/lib/gluon/upgrade/ebtables/invariant/010-enable-ebtables b/package/gluon-ebtables/files/lib/gluon/upgrade/ebtables/invariant/010-enable-ebtables deleted file mode 100755 index 5c2aa269..00000000 --- a/package/gluon-ebtables/files/lib/gluon/upgrade/ebtables/invariant/010-enable-ebtables +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/etc/init.d/gluon-ebtables enable diff --git a/package/gluon-mesh-vpn-fastd/Makefile b/package/gluon-mesh-vpn-fastd/Makefile index 52618816..1553af90 100644 --- a/package/gluon-mesh-vpn-fastd/Makefile +++ b/package/gluon-mesh-vpn-fastd/Makefile @@ -31,7 +31,6 @@ define Build/Compile endef define Package/gluon-mesh-vpn-fastd/install - $(CP) ./files/* $(1)/ $(INSTALL_DIR) $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant $(INSTALL_BIN) $(PKG_BUILD_DIR)/fastd.sh $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-mesh-vpn-fastd endef diff --git a/package/gluon-mesh-vpn-fastd/files/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-enable-fastd b/package/gluon-mesh-vpn-fastd/files/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-enable-fastd deleted file mode 100755 index f4fc6d55..00000000 --- a/package/gluon-mesh-vpn-fastd/files/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-enable-fastd +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/etc/init.d/fastd enable