And some people  wonder why sites like *without.systemd.org
<http://without.systemd.org>* exist . . .

On Sun, Sep 6, 2015 at 10:10 AM, Bill Pretty <[email protected]>
wrote:

>
>
> https://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console
>
> Should get you started
>
>
>
> Thanks for the help Don.
>
>
>
> I followed the link, but it would appear that Arch Linux uses a slightly
> different file structure.
>
> So I looked around and found what I thought was the correct file and
> modified it per the Arch Instructions.
>
>
>
> Unfortunately it didn’t work after a “shutdown now –r” command.
>
> I am wondering if there is something else I had to do before reboot ?
>
>
>
> Here is the file:
>
>
>
> root@beaglebone:/etc/systemd/system/getty.target.wants# ls -l
>
> total 0
>
> lrwxrwxrwx 1 root root 34 Oct  9  2013 [email protected] ->
> /lib/systemd/system/[email protected]
>
> lrwxrwxrwx 1 root root 47 Mar  1  2015 [email protected] ->
> /etc/systemd/system/[email protected]
>
>
>
> ===========================
>
>
>
> nano /lib/systemd/system/[email protected]
>
>
>
>
>
> #  This file is part of systemd.
>
> #
>
> #  systemd is free software; you can redistribute it and/or modify it
>
> #  under the terms of the GNU General Public License as published by
>
> #  the Free Software Foundation; either version 2 of the License, or
>
> #  (at your option) any later version.
>
>
>
> [Unit]
>
> Description=Getty on %I
>
> BindTo=dev-%i.device
>
> After=dev-%i.device systemd-user-sessions.service
> plymouth-quit-wait.service
>
>
>
> # If additional gettys are spawned during boot then we should make
>
> # sure that this is synchronized before getty.target, even though
>
> # getty.target didn't actually pull it in.
>
> Before=getty.target
>
>
>
> [Service]
>
> Environment=TERM=linux
>
> #ExecStart=-/sbin/agetty %I 38400
>
> ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux
>
> Restart=always
>
> RestartSec=0
>
> UtmpIdentifier=%I
>
> TTYPath=/dev/%I
>
> TTYReset=yes
>
> TTYVHangup=yes
>
> TTYVTDisallocate=yes
>
> KillMode=process
>
> IgnoreSIGPIPE=no
>
>
>
> # Unset locale for the console getty since the console has problems
>
> # displaying some internationalized messages.
>
> Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE=
> LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE=
> LC_MEASUREMENT= LC_IDENTIFICATION=
>
>
>
> # Some login implementations ignore SIGTERM, so we send SIGHUP
>
> # instead, to ensure that login terminates cleanly.
>
> KillSignal=SIGHUP
>
>
>
> [Install]
>
> Alias=getty.target.wants/[email protected]
>
>
>
>
>
>
>
>
>
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to