summaryrefslogtreecommitdiff
path: root/src/backend/setprofile.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/setprofile.py')
-rw-r--r--src/backend/setprofile.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/setprofile.py b/src/backend/setprofile.py
new file mode 100644
index 0000000..c78269f
--- /dev/null
+++ b/src/backend/setprofile.py
@@ -0,0 +1,9 @@
+#!/usr/bin/python3
+
+import animation
+import subprocess
+
+@animation.wait('setting up hardened profile')
+def start():
+ subprocess.call(['eselect', 'profile', 'set', 'default/linux/amd64/17.0/hardened'])
+ subprocess.call(['env-update'])