Skip to content

Commit

Permalink
run: guixsd: Make sure openwrt is started.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Nov 5, 2024
1 parent 1e12f4b commit 4c712b8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions dotfiles/run/guixsd/08-openwrt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@

set -o nounset -o errexit -o pipefail -o xtrace

sudo virsh net-start --network br0
sudo virsh start --domain openwrt
if sudo virsh net-start --network br0
then
:
fi

until sudo virsh start --domain openwrt
do
sleep 2
done

0 comments on commit 4c712b8

Please sign in to comment.