From ded5925f838fc35f071a98887799923a36248d46 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 25 Jan 2014 01:54:19 +0100 Subject: [PATCH] Remove odhcp6c.user hack --- package/gluon-core/files/etc/odhcp6c.user | 3 --- .../files/lib/gluon/odhcp6c.d/.keep | 0 .../lib/gluon/odhcp6c.d/010-mesh-batman-adv | 21 ------------------- 3 files changed, 24 deletions(-) delete mode 100644 package/gluon-core/files/etc/odhcp6c.user delete mode 100644 package/gluon-core/files/lib/gluon/odhcp6c.d/.keep delete mode 100755 package/gluon-mesh-batman-adv/generate/lib/gluon/odhcp6c.d/010-mesh-batman-adv diff --git a/package/gluon-core/files/etc/odhcp6c.user b/package/gluon-core/files/etc/odhcp6c.user deleted file mode 100644 index 14a96ebf..00000000 --- a/package/gluon-core/files/etc/odhcp6c.user +++ /dev/null @@ -1,3 +0,0 @@ -for file in /lib/gluon/odhcp6c.d/*; do - [ ! -x $file ] || $file -done diff --git a/package/gluon-core/files/lib/gluon/odhcp6c.d/.keep b/package/gluon-core/files/lib/gluon/odhcp6c.d/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/package/gluon-mesh-batman-adv/generate/lib/gluon/odhcp6c.d/010-mesh-batman-adv b/package/gluon-mesh-batman-adv/generate/lib/gluon/odhcp6c.d/010-mesh-batman-adv deleted file mode 100755 index e06837ed..00000000 --- a/package/gluon-mesh-batman-adv/generate/lib/gluon/odhcp6c.d/010-mesh-batman-adv +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -[ "$INTERFACE" = 'client' ] || exit 0 - -mkdir -p /var/gluon/mesh-batman-adv - -for ns in $RDNSS $RA_DNS; do - for domain in @mesh_domains@; do - echo "server=/$domain/$ns" - done -done > /var/gluon/mesh-batman-adv/dnsmasq.conf.$$ - -if cmp -s /var/gluon/mesh-batman-adv/dnsmasq.conf.$$ /var/gluon/dnsmasq.d/mesh-batman-adv.conf; then - rm /var/gluon/mesh-batman-adv/dnsmasq.conf.$$ - exit 0 -fi - -lock /var/gluon/mesh-batman-adv/dnsmasq.conf.lock -mv -f /var/gluon/mesh-batman-adv/dnsmasq.conf.$$ /var/gluon/dnsmasq.d/mesh-batman-adv.conf -/etc/init.d/dnsmasq restart -lock -u /var/gluon/mesh-batman-adv/dnsmasq.conf.lock