diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-08-28 21:23:23 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-08-28 21:23:23 (GMT) |
commit | f83117d46d8fc1f6192783371a68607a192c3276 (patch) | |
tree | 21bf30aeb943fe6cb23eb9c62a0ba899de2af0d7 /build_tools/l7/larch0/profiles/xmini/rootoverlay/etc/rc.d | |
parent | 69a0137390be9816d5ec5dc9e81d48817a817758 (diff) | |
download | linhes_dev-f83117d46d8fc1f6192783371a68607a192c3276.zip |
Larch 7
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 |