From 052be74f98489c711ac4f8a5421db39304e39a3f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 9 May 2026 19:09:24 +0000 Subject: version: 2.9.9.1 --- examples/etc/execline-shell | 10 ++++------ examples/etc/execline-startup | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/etc/execline-shell b/examples/etc/execline-shell index ac8c141..4e81ac0 100755 --- a/examples/etc/execline-shell +++ b/examples/etc/execline-shell @@ -1,18 +1,16 @@ #!/bin/execlineb -S0 -backtick -n defaulthome +backtick -nE defaulthome { if -nt { - backtick -n defaultuser { id -un } - importas -u defaultuser defaultuser - importas -D $defaultuser USER USER + backtick -nE defaultuser { id -un } + importas -SD $defaultuser USER redirfd -w 2 /dev/null homeof ${USER} } s6-echo / } -importas -u defaulthome defaulthome -importas -D $defaulthome HOME HOME +importas -SD $defaulthome HOME tryexec { ${HOME}/.execline-shell $@ } /bin/sh $@ diff --git a/examples/etc/execline-startup b/examples/etc/execline-startup index 4afc557..ec64c83 100755 --- a/examples/etc/execline-startup +++ b/examples/etc/execline-startup @@ -2,8 +2,8 @@ /bin/multisubstitute { - importas -i HOME HOME - importas -i LOGNAME LOGNAME + importas -Si HOME + importas -Si LOGNAME } /bin/export USER ${LOGNAME} /bin/s6-envdir /etc/env-startup -- cgit v1.3.1