[source] base-files: sysupgrade: fix pseudobridge upgrades

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 28 03:16:04 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=e1406cd31a598b48350e0c012dc177c5b752d05b

commit e1406cd31a598b48350e0c012dc177c5b752d05b
Author: Conn O'Griofa <connogriofa at gmail.com>
AuthorDate: Wed Jul 27 19:04:06 2016 +0100

    base-files: sysupgrade: fix pseudobridge upgrades
    
    Treat 'relayd' as an essential service to avoid connection interruptions during sysupgrade on devices configured as a pseudobridge.
    
    Signed-off-by: Conn O'Griofa <connogriofa at gmail.com>
---
 package/base-files/files/lib/upgrade/common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 752a61c..ea03f77 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -127,7 +127,7 @@ kill_remaining() { # [ <signal> ]
 		else 
 			case "$name" in
 				# Skip essential services
-				*procd*|*ash*|*init*|*watchdog*|*ssh*|*dropbear*|*telnet*|*login*|*hostapd*|*wpa_supplicant*|*nas*) : ;;
+				*procd*|*ash*|*init*|*watchdog*|*ssh*|*dropbear*|*telnet*|*login*|*hostapd*|*wpa_supplicant*|*nas*|*relayd*) : ;;
 
 				# Killable process
 				*)



More information about the lede-commits mailing list