Skip to content
Snippets Groups Projects
Verified Commit 0d08bada authored by Karel Koci's avatar Karel Koci :metal:
Browse files

patches/openwrt: drop patch accepted by upstream

parent bf346f71
Branches
Tags
1 merge request!123Turris OS 5.0 (HBK)
From 97cc8ee9224265835de28f7f9d3d934ac928229e Mon Sep 17 00:00:00 2001
From: Michal Hrusecky <michal.hrusecky@nic.cz>
Date: Mon, 3 Dec 2018 10:33:41 +0100
Subject: [PATCH] base-files: Make sure umount doesn't break on restart
Just to be on safe side, make sure that restart doesn't do anything when
triggering umount init script.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
---
package/base-files/files/etc/init.d/umount | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount
index 349b2b3264..d930a4d48b 100755
--- a/package/base-files/files/etc/init.d/umount
+++ b/package/base-files/files/etc/init.d/umount
@@ -2,6 +2,11 @@
# Copyright (C) 2006 OpenWrt.org
STOP=99
+
+restart() {
+ :
+}
+
stop() {
sync
/bin/umount -a -d -r
--
2.19.2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment