From 1ba10ac018c92f33cf6d468b717742e041008995 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 21 Jan 2014 03:01:12 +0100 Subject: [PATCH] Add support for custom dnsmasq config and odhcp6c handler scripts --- package/gluon-core/files/etc/odhcp6c.user | 3 +++ package/gluon-core/files/lib/gluon/dnsmasq.d/.keep | 0 package/gluon-core/files/lib/gluon/odhcp6c.d/.keep | 0 .../files/lib/gluon/upgrade/core/invariant/010-dnsmasq.d | 3 +++ 4 files changed, 6 insertions(+) create mode 100644 package/gluon-core/files/etc/odhcp6c.user create mode 100644 package/gluon-core/files/lib/gluon/dnsmasq.d/.keep create mode 100644 package/gluon-core/files/lib/gluon/odhcp6c.d/.keep create mode 100755 package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq.d diff --git a/package/gluon-core/files/etc/odhcp6c.user b/package/gluon-core/files/etc/odhcp6c.user new file mode 100644 index 00000000..14a96ebf --- /dev/null +++ b/package/gluon-core/files/etc/odhcp6c.user @@ -0,0 +1,3 @@ +for file in /lib/gluon/odhcp6c.d/*; do + [ ! -x $file ] || $file +done diff --git a/package/gluon-core/files/lib/gluon/dnsmasq.d/.keep b/package/gluon-core/files/lib/gluon/dnsmasq.d/.keep new file mode 100644 index 00000000..e69de29b diff --git a/package/gluon-core/files/lib/gluon/odhcp6c.d/.keep b/package/gluon-core/files/lib/gluon/odhcp6c.d/.keep new file mode 100644 index 00000000..e69de29b diff --git a/package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq.d b/package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq.d new file mode 100755 index 00000000..8e84c1f5 --- /dev/null +++ b/package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq.d @@ -0,0 +1,3 @@ +#!/bin/sh + +echo 'conf-dir=/lib/gluon/dnsmasq.d' > /etc/dnsmasq.conf