From 0c4fdf343b3c51800b646ceebb358c9094177034 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Mon, 13 Mar 2023 12:51:42 -0400 Subject: [PATCH] poweroff, reboot: Do not use bash These need to work on legacy-flash boards. Signed-off-by: Jonathon Hall --- initrd/bin/poweroff | 4 ++-- initrd/bin/reboot | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/initrd/bin/poweroff b/initrd/bin/poweroff index 813726ad..ef4bdf86 100755 --- a/initrd/bin/poweroff +++ b/initrd/bin/poweroff @@ -1,5 +1,5 @@ -#!/bin/bash -. /etc/functions +#!/bin/ash +. /etc/ash_functions TRACE "Under /bin/poweroff" diff --git a/initrd/bin/reboot b/initrd/bin/reboot index 209dc91b..97d37a2b 100755 --- a/initrd/bin/reboot +++ b/initrd/bin/reboot @@ -1,5 +1,5 @@ -#!/bin/bash -. /etc/functions +#!/bin/ash +. /etc/ash_functions TRACE "Under /bin/reboot"