From owner-freebsd-hardware Tue Feb 12 23:24: 2 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from web13602.mail.yahoo.com (web13602.mail.yahoo.com [216.136.175.113]) by hub.freebsd.org (Postfix) with SMTP id D740F37B402 for ; Tue, 12 Feb 2002 23:23:59 -0800 (PST) Message-ID: <20020213072359.44378.qmail@web13602.mail.yahoo.com> Received: from [193.110.209.122] by web13602.mail.yahoo.com via HTTP; Tue, 12 Feb 2002 23:23:59 PST Date: Tue, 12 Feb 2002 23:23:59 -0800 (PST) From: Veysel Koybasi Subject: Re: USB Keyboard... To: David Bogen Cc: freebsd-hardware@FreeBSD.org In-Reply-To: <3C694FCC.6050201@bogen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks a lot for your help... --- David Bogen 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