summaryrefslogtreecommitdiff
path: root/examples/etc/execline-shell
diff options
context:
space:
mode:
Diffstat (limited to 'examples/etc/execline-shell')
-rwxr-xr-xexamples/etc/execline-shell18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/etc/execline-shell b/examples/etc/execline-shell
index ac8c141..3e406d7 100755
--- a/examples/etc/execline-shell
+++ b/examples/etc/execline-shell
@@ -1,18 +1,18 @@
#!/bin/execlineb -S0
-backtick -n defaulthome
+` -n defaulthome
{
- if -nt
+ && -nt
{
- backtick -n defaultuser { id -un }
- importas -u defaultuser defaultuser
- importas -D $defaultuser USER USER
- redirfd -w 2 /dev/null
- homeof ${USER}
+ ` -n defaultuser { id -un }
+ $ -u defaultuser defaultuser
+ $ -D $defaultuser USER USER
+ < -w 2 /dev/null
+ ~ ${USER}
}
s6-echo /
}
-importas -u defaulthome defaulthome
-importas -D $defaulthome HOME HOME
+$ -u defaulthome defaulthome
+$ -D $defaulthome HOME HOME
tryexec { ${HOME}/.execline-shell $@ }
/bin/sh $@