git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/peps/usr/local/bin/keinepeps
diff options
context:
space:
mode:
authormail_redacted_for_web 2021-07-28 14:44:04 +0200
committermail_redacted_for_web 2021-07-28 14:44:04 +0200
commit0411cae32be1053c3b5ad788a06a830591df4769 (patch)
tree978fa34457caec7e9f5aed07a25e07f6cefa6dc3 /peps/usr/local/bin/keinepeps
parentf7cac1044ea26157a89e309e8c9a7b8797645ebf (diff)
downloadlulz-0411cae32be1053c3b5ad788a06a830591df4769.tar.bz2
switcher for easier lulz and unlulz in case of management presence
Diffstat (limited to 'peps/usr/local/bin/keinepeps')
-rwxr-xr-xpeps/usr/local/bin/keinepeps11
1 files changed, 11 insertions, 0 deletions
diff --git a/peps/usr/local/bin/keinepeps b/peps/usr/local/bin/keinepeps
new file mode 100755
index 0000000..c539c0b
--- /dev/null
+++ b/peps/usr/local/bin/keinepeps
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+rm -vf /usr/local/bin/browser-launcher||exit 1
+ln -vsf grafana /usr/local/bin/browser-launcher||exit 2
+printf "Restarting LightDM in "
+for i in {5..1};do
+ printf "$i..."
+ sleep 1
+done
+printf "\\n"
+systemctl restart lightdm.service