summaryrefslogtreecommitdiff
path: root/examples/etc/execline-startup
diff options
context:
space:
mode:
Diffstat (limited to 'examples/etc/execline-startup')
-rwxr-xr-xexamples/etc/execline-startup15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/etc/execline-startup b/examples/etc/execline-startup
new file mode 100755
index 0000000..4afc557
--- /dev/null
+++ b/examples/etc/execline-startup
@@ -0,0 +1,15 @@
+#!/bin/execlineb -S0
+
+/bin/multisubstitute
+{
+ importas -i HOME HOME
+ importas -i LOGNAME LOGNAME
+}
+/bin/export USER ${LOGNAME}
+/bin/s6-envdir /etc/env-startup
+/bin/fdblock 0
+/bin/fdblock 1
+/bin/fdblock 2
+
+/bin/tryexec { ${HOME}/.execline-loginshell $@ }
+/etc/execline-shell $@