summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/execline-startup
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
commit82d0f92ab8b84466ae20ab919c1f9c3577b5cecb (patch)
tree776015ae6c6a386125b2d39e13b62f91b99548f8 /layout/rootfs/etc/execline-startup
downloadlh-bootstrap-82d0f92ab8b84466ae20ab919c1f9c3577b5cecb.tar.xz
Initial commit
Diffstat (limited to 'layout/rootfs/etc/execline-startup')
-rwxr-xr-xlayout/rootfs/etc/execline-startup13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/rootfs/etc/execline-startup b/layout/rootfs/etc/execline-startup
new file mode 100755
index 0000000..11cd736
--- /dev/null
+++ b/layout/rootfs/etc/execline-startup
@@ -0,0 +1,13 @@
+#!/command/execlineb -S0
+
+/command/multisubstitute
+{
+ import -i HOME
+ import -i LOGNAME
+}
+/command/export PATH "/command:/bin"
+/command/export USER $LOGNAME
+export SHELL /etc/execline-shell
+fdblock 0 fdblock 1 fdblock 2
+
+${HOME}/.execline-loginshell $@