From 486b06b4125c00dd6ffce079432022a11930ce01 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 19 May 2017 12:39:14 +0000 Subject: Add execline-startup and execline-shell to examples/ again --- examples/etc/execline-startup | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 examples/etc/execline-startup (limited to 'examples/etc/execline-startup') 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 $@ -- cgit v1.2.3