mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-02 10:36:11 -05:00
rename OVH mitigation script
This commit is contained in:
parent
45c79b3909
commit
affc4518da
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…
Reference in New Issue
Block a user