Skip to content

Commit

Permalink
gluon-ebtables-limit-arp: stop for autoupdater (#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 Mar 5, 2024
1 parent c905ea5 commit 0bbe55c
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 0bbe55c

Please sign in to comment.