Skip to content

Commit

Permalink
gluon-ebtables-limit-arp: stop for autoupdater (freifunk-gluon#3162)
Browse files Browse the repository at this point in the history
Stop and start the gluon-arp-limiter service before the network is
brought down when commencing update.

Start the service after the network is brought back up when aborting.

Signed-off-by: David Bauer <mail@david-bauer.net>
  • Loading branch information
blocktrron authored and misanthropos committed Apr 29, 2024
1 parent 1855290 commit e6d9057
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

. /lib/gluon/autoupdater/lib.sh

# Start after network
start_enabled gluon-arp-limiter
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

. /lib/gluon/autoupdater/lib.sh

# Stop before network
stop gluon-arp-limiter

0 comments on commit e6d9057

Please sign in to comment.