diff options
Diffstat (limited to 'build_tools/l7/larch0/profiles/xmini/rootoverlay/etc/rc.d')
-rw-r--r-- | build_tools/l7/larch0/profiles/xmini/rootoverlay/etc/rc.d/functions.d/larch-autologin | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build_tools/l7/larch0/profiles/xmini/rootoverlay/etc/rc.d/functions.d/larch-autologin b/build_tools/l7/larch0/profiles/xmini/rootoverlay/etc/rc.d/functions.d/larch-autologin new file mode 100644 index 0000000..d1c6aa3 --- /dev/null +++ b/build_tools/l7/larch0/profiles/xmini/rootoverlay/etc/rc.d/functions.d/larch-autologin @@ -0,0 +1,7 @@ +sysinit_end_larch_autologin() { + # Set up automatically logged in user (larch live system only) + if [ -f /.livesys/autologin ]; then + cp /.livesys/autologin /tmp/newuser + fi +} +add_hook sysinit_end sysinit_end_larch_autologin |