From 2ad7f914d84a00b82610c072594ce9b3f2dd8af3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Thu, 13 Feb 2020 19:10:31 -0300 Subject: [PATCH] bootscripts: rc.shutdown: Replace shell process when reboot/halt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matías Fonzo --- archive/etc/rc.d/rc.shutdown | 6 +++--- recipes/boot/bootscripts/recipe | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/archive/etc/rc.d/rc.shutdown b/archive/etc/rc.d/rc.shutdown index f3291ed0..1124d657 100644 --- a/archive/etc/rc.d/rc.shutdown +++ b/archive/etc/rc.d/rc.shutdown @@ -2,7 +2,7 @@ # # Prepare to halt or reboot the system # -# Copyright (c) 2017-2019 Matias Fonzo, . +# Copyright (c) 2017-2020 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -95,10 +95,10 @@ wait case $0 in *.reboot) echo "Rebooting ..." - reboot -d -f + exec reboot -d -f ;; *) - halt -d -f -p + exec halt -d -f -p ;; esac diff --git a/recipes/boot/bootscripts/recipe b/recipes/boot/bootscripts/recipe index 2aa60732..495fdcca 100644 --- a/recipes/boot/bootscripts/recipe +++ b/recipes/boot/bootscripts/recipe @@ -1,6 +1,6 @@ # Build recipe for bootscripts. # -# Copyright (c) 2017-2019 Matias Fonzo, . +# Copyright (c) 2017-2020 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ program=_bootscripts version=dragora -pkgversion=20191213 +pkgversion=20200213 arch=noarch release=1 -- 2.11.4.GIT