blob: ac8c1418350c805cf5aa085f534b375d75dd2029 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/execlineb -S0
backtick -n defaulthome
{
if -nt
{
backtick -n defaultuser { id -un }
importas -u defaultuser defaultuser
importas -D $defaultuser USER USER
redirfd -w 2 /dev/null
homeof ${USER}
}
s6-echo /
}
importas -u defaulthome defaulthome
importas -D $defaulthome HOME HOME
tryexec { ${HOME}/.execline-shell $@ }
/bin/sh $@
|