summaryrefslogtreecommitdiff
path: root/hooks/pre-up/1-oksh
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-up/1-oksh')
-rwxr-xr-xhooks/pre-up/1-oksh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre-up/1-oksh b/hooks/pre-up/1-oksh
new file mode 100755
index 0000000..7cff998
--- /dev/null
+++ b/hooks/pre-up/1-oksh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ! [ -x "$(command -v mksh)" ]; then
+ sudo xbps-install -y mksh
+ chsh -s /bin/mksh
+fi