From patchwork Sun Jan 13 21:43:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Tingiris X-Patchwork-Id: 1024160 X-Patchwork-Delegate: chunkeey@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IMF0VA6A"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ENvclll5"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43d99L1KPfz9s9h for ; Mon, 14 Jan 2019 08:44:19 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:Date:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Uutmq4owVR6n7A8wHQOa51R1HqAACbf16rsJHfEXA/g=; b=IMF0VA6AAcjdG+ +nTPOD24uAoqWHLpdYZd0ZTMRDxAlAMLIYb8XkZIENmVHFBjwK/0g+ZGF/ADZABmKiJPocApjZxfN EZkgOuZI3y09H4KAWQ0kru9AmlXwwCssNQ27l+1oQ6envQuBEqppGUmBtrPfWnbofAKfCM6+VUB3e ldVB4H41V1lH8fV3IEKi3DmlVIoNOZLfJvFM+BXnB2Bg7+cuN6B6b0rvmdm7qumwdrsHhbfmFzRVM 7K5s+sm9JS0vLS1H5X+X2cvU3TDemRgh7h+WSOYxa9V7Vrvf0nCieiKYDtNpn/2zEC6G6a7FHA8xu EzETF/DZdw1uPYoyXJCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ginY3-000728-CI; Sun, 13 Jan 2019 21:44:03 +0000 Received: from mail-yw1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ginXz-00070z-Do for openwrt-devel@lists.openwrt.org; Sun, 13 Jan 2019 21:44:01 +0000 Received: by mail-yw1-xc2d.google.com with SMTP id k188so7925440ywa.6 for ; Sun, 13 Jan 2019 13:43:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=xKU7GryNEs886d0x2nmc9qCE7SGU0MbY0wyy5PMsc/Y=; b=ENvclll5koYqlrpfavq2JF+a67A0z2xX+L3bIn8H4KfU0y9UmkztfHyj8z1gWKsG6P If9rOaOkCSd9EDjKCbFiNxNhKAgR1TKkwm5DChlxXds+y+0tuVqaMDC9PVjVAiNGXXTZ ko0xtdKp5FKZgTuUkr/vDUMjr0yhwlQJazM6F8vpmZ9YNPd9TC8/Es9CN1+vleT9WlBT iYdXwuMNdMwOdp6XNavySOE39/qzU/Y89jY6bHD0c2BPk7ckKMaMgrmmF7m9Wr21Esam Xyrhlam+B8LQdQNynlAc9MphhIf74CycllwrpIaAm1pcAyXATfoNWnmmawQnir7NtaRX hVIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=xKU7GryNEs886d0x2nmc9qCE7SGU0MbY0wyy5PMsc/Y=; b=dm20zqE1Ce6ZY9L7NWIkyXsDAVa7qtNMLv9TGbc2alWpltOMOsrBMG9YnaAPChSykq /9z+LiZm6bKWAY1OmihUjV22KPEDtugwBFehi9XGUmsqgUvWFT2TjPk0k2BfOI9kHKbH n1EpVTZ8eLflyQM/GACiuIbePF/aTlTrwVHxybD/o8w0654NI0o3G9b8RE0Ioyf5719U yyyHtGc//shYYTyu0GJpRAI81jmf5FlYYDYCddMw6W+sMHFGU80WoAlcJ9VLPH48gcIE 397MUx+XWEcNrT6aAhqUlZcvIEkH0b6h/UGlHMaMDOb4UlDlG+SQJZ252u+EeOkKPt+K SmaQ== X-Gm-Message-State: AJcUukdkdP5c18EwiYd5L19q2CibAeuNjPFE4GutxCgCgMVdJD9E0bSo N4FBnTDlu13KWux/8H0S9bAUgMCc X-Google-Smtp-Source: ALg8bN6XbBZTZu3bHbmCWg0bGKVqzYQzR5Z85Y2xX5cp9K2WxUChJB4wYpHi2fU/9FGm5UG696SyLA== X-Received: by 2002:a81:4520:: with SMTP id s32mr22000176ywa.7.1547415836532; Sun, 13 Jan 2019 13:43:56 -0800 (PST) Received: from vm.base8tech.com (c-67-166-247-190.hsd1.ga.comcast.net. [67.166.247.190]) by smtp.gmail.com with ESMTPSA id x1sm31240781ywf.94.2019.01.13.13.43.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Jan 2019 13:43:56 -0800 (PST) From: Joseph Tingiris To: openwrt-devel@lists.openwrt.org Date: Sun, 13 Jan 2019 16:43:48 -0500 Message-Id: <1547415830-24599-1-git-send-email-joseph.tingiris@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190113_134359_529309_D902DB98 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joseph.tingiris[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:c2d listed in] [list.dnswl.org] Subject: [OpenWrt-Devel] [PATCH 1/3] base-files: change boot & umount STOP indexes X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This patch is in a series to allow additional STOP indexes after umount, so that other block devices may stop cleanly. boot is now STOP=90 umount is now STOP=90 After this patch series, the resulting STOP indexes in the 80s & 90s will be: STOP=85 odhcpd.init STOP=89 conntrackd.init STOP=89 log.init STOP=89 rssileds.init STOP=90 boot STOP=90 kdump.init STOP=90 network STOP=90 sysfixtime STOP=90 umount STOP=98 mdadm.init (note: will be addressed in a separate patch) Signed-off-by: Joseph Tingiris --- package/base-files/Makefile | 2 +- package/base-files/files/etc/init.d/boot | 2 +- package/base-files/files/etc/init.d/umount | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index ea1e4eb..226dd26 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/feeds.mk PKG_NAME:=base-files -PKG_RELEASE:=196 +PKG_RELEASE:=197 PKG_FLAGS:=nonshared PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 31f245f..09b7f44 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -2,7 +2,7 @@ # Copyright (C) 2006-2011 OpenWrt.org START=10 -STOP=98 +STOP=90 uci_apply_defaults() { . /lib/functions/system.sh diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount index 349b2b3..57a4a6d 100755 --- a/package/base-files/files/etc/init.d/umount +++ b/package/base-files/files/etc/init.d/umount @@ -1,7 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org -STOP=99 +STOP=90 stop() { sync /bin/umount -a -d -r