git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/peps/usr/local/bin/keinepeps
diff options
context:
space:
mode:
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