Date: Tue, 12 Feb 2002 23:23:59 -0800 (PST) From: Veysel Koybasi <yalincak@yahoo.com> To: David Bogen <db@bogen.org> Cc: freebsd-hardware@FreeBSD.org Subject: Re: USB Keyboard... Message-ID: <20020213072359.44378.qmail@web13602.mail.yahoo.com> In-Reply-To: <3C694FCC.6050201@bogen.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot for your help... --- David Bogen <db@bogen.org> wrote: > create kbd-redirect.sh in /usr/local/etc/rc.d with > the following contents: > > #!/bin/sh > > case $1 in > start) > /usr/sbin/kbdcontrol -k /dev/kbd1 < > /dev/console > /dev/null > echo "USB Keyboard Switchover" > ;; > stop) > ;; > *) > echo "Usage: `basename $0` {start|stop}" > ;; > esac > > As root: > > chmod 555 /usr/local/etc/rc.d/kbd-redirect.sh > > Veysel Koybasi wrote: > >>Use kbdcontrol to change the console keyboard to > >>/dev/kbd1. You > >>can create a script that runs at startup time in > >>/usr/local/etc/rc.d to automate this. > >> > > > > Thanks a lot for your help. But I am a new > user in > > using FreeBSD and therefore I dont know how to > > automate this. Can you help me about creating > scripts > > in that folder or does it mean that every script > > written in that directory runs automatically at > boot time? > > > __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213072359.44378.qmail>