From d14ee41325841005e3d2c222b30cdcf7f8439e5e Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 17 Feb 2024 04:34:22 +0100 Subject: [PATCH] liminix-rebuild: use `-f` flag to reboot effectively MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My AP does not reboot upon `reboot` but `reboot -f`… why? Signed-off-by: Raito Bezarius --- pkgs/min-copy-closure/liminix-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/min-copy-closure/liminix-rebuild.sh b/pkgs/min-copy-closure/liminix-rebuild.sh index b50d849..970aa19 100755 --- a/pkgs/min-copy-closure/liminix-rebuild.sh +++ b/pkgs/min-copy-closure/liminix-rebuild.sh @@ -20,7 +20,7 @@ if toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link); then echo systemConfiguration $toplevel min-copy-closure $target_host $toplevel $ssh_command $target_host $toplevel/bin/install - $ssh_command $target_host "sync; source /etc/profile; reboot" + $ssh_command $target_host "sync; source /etc/profile; reboot -f" else echo Rebuild failed fi