commit d14ee41325841005e3d2c222b30cdcf7f8439e5e
parent 8f814658fea81eec1c59a9f0fcb3c39fc862bcfd
Author: Raito Bezarius <masterancpp@gmail.com>
Date: Sat, 17 Feb 2024 04:34:22 +0100
liminix-rebuild: use `-f` flag to reboot effectively
My AP does not reboot upon `reboot` but `reboot -f`… why?
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Diffstat:
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
@@ -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