Date: Sat, 25 Jun 2016 09:33:16 +0000 From: Manish Jain <bourne.identity@hotmail.com> To: "Martin S. Weber" <Ephaeton@gmx.net>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Bad experience switching to SSD on FreeBSD 10.3 Message-ID: <VI1PR02MB097401773798E5591F4C052EF62F0@VI1PR02MB0974.eurprd02.prod.outlook.com> In-Reply-To: <20160625092351.GA1997@hephaistos.local> References: <VI1PR02MB0974EE59E723F9B6678BDAC1F62E0@VI1PR02MB0974.eurprd02.prod.outlook.com> <649e47bb82b8c14b8068733a62f554f1@dweimer.net> <20160624232512.84ba05c4.freebsd@edvax.de> <AM3PR02MB0963C663127CF29DD35C8CE6F62F0@AM3PR02MB0963.eurprd02.prod.outlook.com> <20160625092351.GA1997@hephaistos.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/25/2016 2:53 PM, Martin S. Weber wrote: > On 2016-06-25 09:08:46, Manish Jain wrote: >> (...) >> I found a doc which says the keyboard can be used with linux with this >> script : >> >> #!/bin/bash > #! /bin/sh > >> FLAGS=3D$(xset -q | awk 'NR=3D=3D2' | awk '{ print $10 }') > .. ^ { print $10 } >> if [ "$FLAGS" =3D 00000000 ]; then >> xset led on >> else >> xset led off >> fi >> >> Would this kind of script work on FreeBSD too ? > > Sure, it does. No need for /bin/bash or the double awk invocation. xset l= ed > toggles my numlock status led, you'll have to test with your hardware (yo= u've > received instructions on how to unlock your console after enabling the LE= D > with your hardware switch already anyways..), but I'd expect this to work= . > > Regards, > -Martin > Thank you so much for confirming it. Regards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR02MB097401773798E5591F4C052EF62F0>