summaryrefslogtreecommitdiff
path: root/examples/etc/execline-startup
blob: 6e5769a4ac11c2339789c34208c62178b3cf5c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/execlineb -S0

/bin/multisubstitute
{
  $ -i HOME HOME
  $ -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 $@