From patchwork Tue Apr 16 10:21:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fff-hoods: Move first start of configurehood from rc.local to init.d From: Robert Langhammer X-Patchwork-Id: 1069 Message-Id: <20190416102135.20821-1-rlanghammer@web.de> To: franken-dev@freifunk.net Date: Tue, 16 Apr 2019 12:21:35 +0200 Signed-off-by: Robert Langhammer Reviewed-by: Adrian Schmutzler --- bsp/default/root_file_system/etc/rc.local | 4 ---- src/packages/fff/fff-hoods/files/etc/configurehood | 9 +++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 src/packages/fff/fff-hoods/files/etc/configurehood -- 2.20.1 diff --git a/bsp/default/root_file_system/etc/rc.local b/bsp/default/root_file_system/etc/rc.local index 59042c3..bd972fb 100755 --- a/bsp/default/root_file_system/etc/rc.local +++ b/bsp/default/root_file_system/etc/rc.local @@ -4,10 +4,6 @@ /usr/sbin/configurenetwork -sleep 3 - -/usr/sbin/configurehood - touch /tmp/started exit 0 diff --git a/src/packages/fff/fff-hoods/files/etc/configurehood b/src/packages/fff/fff-hoods/files/etc/configurehood new file mode 100644 index 0000000..ffe64e1 --- /dev/null +++ b/src/packages/fff/fff-hoods/files/etc/configurehood @@ -0,0 +1,9 @@ +#!/bin/sh /etc/rc.common + +START=96 + +boot() +{ + /usr/sbin/configurehood +} +