Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Jc García
2014-06-20 13:52 GMT-06:00 Michael Cook : > On 06/20/2014 03:46 PM, cov...@ccs.covici.com wrote: >> >> Jc García wrote: >> >>> 2014-06-20 11:26 GMT-06:00 : >>> I tried your idea of a shell script like this [Service] ExecStartPost=/bin/bash -c "setleds -D -num >> >>> I tried your li

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Michael Cook
On 06/20/2014 03:46 PM, cov...@ccs.covici.com wrote: Jc García wrote: 2014-06-20 11:26 GMT-06:00 : I tried your idea of a shell script like this [Service] ExecStartPost=/bin/bash -c "setleds -D -num I tried your line on my system, and rebooted, and didn't see any problem. I have: /etc/sy

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread covici
Jc García wrote: > 2014-06-20 11:26 GMT-06:00 : > > > I tried your idea of a shell script like this > > [Service] > > ExecStartPost=/bin/bash -c "setleds -D -num I tried your line on my system, and rebooted, and didn't see any problem. > > I have: > > /etc/systemd/system/getty\@.service.d/nu

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Jc García
2014-06-20 11:26 GMT-06:00 : > I tried your idea of a shell script like this > [Service] > ExecStartPost=/bin/bash -c "setleds -D -num http://0pointer.de/blog/projects/serial-console.html ->This line: Process: 625 ExecStartPost=/bin/bash -c /usr/bin/setleds -D -num But it did not work, it

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread covici
Jc García wrote: > 2014-06-20 10:53 GMT-06:00 : > > Canek Peláez Valdés wrote: > > > >> On Fri, Jun 20, 2014 at 4:06 AM, wrote: > >> > Hi. I want to turn numlock automatically, but I am using systemd and I > >> > am having troubles doing this. At someones suggestion in a previous > >> > mes

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Canek Peláez Valdés
On Fri, Jun 20, 2014 at 11:40 AM, Jc García wrote: > 2014-06-20 9:06 GMT-06:00 Canek Peláez Valdés : >> On Fri, Jun 20, 2014 at 4:06 AM, wrote: >>> Hi. I want to turn numlock automatically, but I am using systemd and I >>> am having troubles doing this. At someones suggestion in a previous >>>

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Jc García
2014-06-20 10:53 GMT-06:00 : > Canek Peláez Valdés wrote: > >> On Fri, Jun 20, 2014 at 4:06 AM, wrote: >> > Hi. I want to turn numlock automatically, but I am using systemd and I >> > am having troubles doing this. At someones suggestion in a previous >> > message (I think Canek's) I created

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread covici
Canek Peláez Valdés wrote: > On Fri, Jun 20, 2014 at 4:06 AM, wrote: > > Hi. I want to turn numlock automatically, but I am using systemd and I > > am having troubles doing this. At someones suggestion in a previous > > message (I think Canek's) I created > > /etc/systemd/system/getty@service

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Jc García
2014-06-20 9:06 GMT-06:00 Canek Peláez Valdés : > On Fri, Jun 20, 2014 at 4:06 AM, wrote: >> Hi. I want to turn numlock automatically, but I am using systemd and I >> am having troubles doing this. At someones suggestion in a previous >> message (I think Canek's) I created >> /etc/systemd/syste

Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Canek Peláez Valdés
On Fri, Jun 20, 2014 at 4:06 AM, wrote: > Hi. I want to turn numlock automatically, but I am using systemd and I > am having troubles doing this. At someones suggestion in a previous > message (I think Canek's) I created > /etc/systemd/system/getty@service.d/numlock.conf with the following > co

[gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread covici
Hi. I want to turn numlock automatically, but I am using systemd and I am having troubles doing this. At someones suggestion in a previous message (I think Canek's) I created /etc/systemd/system/getty@service.d/numlock.conf with the following contents [Service] ExecStartPost=/usr/bin/setleds -D