From 6543ef972505963f0891836ace73eda302abf358 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 28 Sep 2013 21:45:04 +0200 Subject: [PATCH] Adjust some old scripts to gluon (TODO: reimplement backwards compatiblity) --- .../core/0.3.1/010-freifunk-migrate-config | 16 --------- .../core/0.3.1/012-freifunk-migrate-network | 18 ---------- .../gluon/upgrade/core/0.3.1/020-lff-wireless | 6 ---- .../gluon/upgrade/core/0.3.1/021-lff-fastd | 9 ----- .../core/0.3.2/011-update-avahi-daemon-conf | 6 ---- .../core/0.3.2/020-lff-migrate-mesh-vpn | 33 ------------------- .../upgrade/core/0.3.2/021-lff-migrate-peers | 11 ------- .../{010-freifunk-system => 010-gluon-system} | 2 +- ...011-freifunk-network => 011-gluon-network} | 14 ++++---- .../gluon/upgrade/core/initial/020-wireless | 12 +++---- 10 files changed, 14 insertions(+), 113 deletions(-) delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/010-freifunk-migrate-config delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/012-freifunk-migrate-network delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/020-lff-wireless delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/021-lff-fastd delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.2/011-update-avahi-daemon-conf delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.2/020-lff-migrate-mesh-vpn delete mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/0.3.2/021-lff-migrate-peers rename package/gluon-core/files/lib/gluon/upgrade/core/initial/{010-freifunk-system => 010-gluon-system} (93%) rename package/gluon-core/files/lib/gluon/upgrade/core/initial/{011-freifunk-network => 011-gluon-network} (83%) diff --git a/package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/010-freifunk-migrate-config b/package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/010-freifunk-migrate-config deleted file mode 100755 index 8f6d7026..00000000 --- a/package/gluon-core/files/lib/gluon/upgrade/core/0.3.1/010-freifunk-migrate-config +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - - -[ -r /etc/config/ffhl ] || exit 0 - -cp /etc/config/ffhl /etc/config/config_mode -mv /etc/config/ffhl /etc/config/freifunk - -uci -q batch </dev/null || true -) - -rmdir -p /etc/fastd/ffhl-mesh-vpn/peers 2>/dev/null || true diff --git a/package/gluon-core/files/lib/gluon/upgrade/core/initial/010-freifunk-system b/package/gluon-core/files/lib/gluon/upgrade/core/initial/010-gluon-system similarity index 93% rename from package/gluon-core/files/lib/gluon/upgrade/core/initial/010-freifunk-system rename to package/gluon-core/files/lib/gluon/upgrade/core/initial/010-gluon-system index 376ba8f7..635b5a53 100755 --- a/package/gluon-core/files/lib/gluon/upgrade/core/initial/010-freifunk-system +++ b/package/gluon-core/files/lib/gluon/upgrade/core/initial/010-gluon-system @@ -34,7 +34,7 @@ EOF esac uci -q batch <