mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-12 11:42:18 -04:00
rename OVH mitigation script
This commit is contained in:
parent
45c79b3909
commit
affc4518da
3 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,5 +3,5 @@
|
||||||
/units/
|
/units/
|
||||||
/logs/
|
/logs/
|
||||||
*.tmp
|
*.tmp
|
||||||
/mitigation.json
|
/ovh-mitigation.json
|
||||||
/venv/
|
/venv/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python3 mitigation.py "$@"
|
python3 ovh-mitigation.py "$@"
|
|
@ -11,7 +11,7 @@ def err(*args, **kwargs):
|
||||||
if len(sys.argv) != 3:
|
if len(sys.argv) != 3:
|
||||||
err("expected 2 arguments")
|
err("expected 2 arguments")
|
||||||
|
|
||||||
with open("mitigation.json") as config:
|
with open("ovh-mitigation.json") as config:
|
||||||
config = json.load(config)
|
config = json.load(config)
|
||||||
|
|
||||||
action = sys.argv[1]
|
action = sys.argv[1]
|
Loading…
Add table
Add a link
Reference in a new issue