summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/execline-shell
diff options
context:
space:
mode:
Diffstat (limited to 'layout/rootfs/etc/execline-shell')
-rwxr-xr-xlayout/rootfs/etc/execline-shell8
1 files changed, 4 insertions, 4 deletions
diff --git a/layout/rootfs/etc/execline-shell b/layout/rootfs/etc/execline-shell
index 41e63b4..e2dd637 100755
--- a/layout/rootfs/etc/execline-shell
+++ b/layout/rootfs/etc/execline-shell
@@ -5,13 +5,13 @@ backtick -n defaulthome
if -nt
{
backtick -n defaultuser { id -un }
- import -u defaultuser
- import -D $defaultuser USER
+ importas -u defaultuser defaultuser
+ importas -D $defaultuser USER USER
redirfd -w 2 /dev/null
homeof ${USER}
}
s6-echo /
}
-import -u defaulthome
-import -D $defaulthome HOME
+importas -u defaulthome defaulthome
+importas -D $defaulthome HOME HOME
${HOME}/.execline-shell $@