blob: e2dd637591ed1a4f987079c594b845bbd8a6a3df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/command/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
${HOME}/.execline-shell $@
|