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>
This commit is contained in:
parent
8f814658fe
commit
d14ee41325
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue