summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/execline-startup
diff options
context:
space:
mode:
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 $@