forked from freifunk-gluon/gluon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gluon-ebtables-limit-arp: stop for autoupdater (freifunk-gluon#3162)
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
1 parent
1855290
commit e6d9057
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
package/gluon-ebtables-limit-arp/files/usr/lib/autoupdater/abort.d/15start-arp-limiter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
6 changes: 6 additions & 0 deletions
6
package/gluon-ebtables-limit-arp/files/usr/lib/autoupdater/upgrade.d/05stop-arp-limiter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |