Skip to content

Commit

Permalink
fix: set up control socket before running commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MakiseKurisu committed Jul 24, 2024
1 parent 3e24875 commit 260e0c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openwrt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ let
# apply the new config and wait for the box to go down via ssh connection
# timeout.
log 'applying config'
ssh -Nf
if $RELOAD_ONLY; then
ssh 'logread -l9999 -f' &
ssh '/etc/init.d/config_generation prepare_reload'
Expand Down

0 comments on commit 260e0c1

Please sign in to comment.