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