Re: easy numlock question
- To: brooks.robinson@rides.com
- Cc: "Debian-User" <debian-user@lists.debian.org>
- Subject: Re: easy numlock question
- From: Shaul Karl <shaulk@israsrv.net.il>
- Date: Thu, 31 Aug 2000 01:12:13 +0300
- Message-id: <E13UG5k-0006Lc-00@rakefet>
- In-reply-to: Message from "Brooks R. Robinson" <brooks.robinson@rides.com> of "Wed, 30 Aug 2000 08:35:55 CDT." <00ea01c01287$391e5cf0$070910ac@robinson_nt>
- References: <00ea01c01287$391e5cf0$070910ac@robinson_nt>
> > The next script will turn numlock on for the first six consoles.
> >
> > #!/bin/sh
> > INITTY=/dev/tty[1-6]
> > for tty in $INITTY; do
> > setleds -D +num < $tty
> > done
> >
> > When you save it as /etc/rc2.d/S20setleds numlock will be set at
> > the system
> > startup.
>
> I haven't read everything Debian yet, but wouldn't you want to save the
> above scripts as something more like /etc/init.d/setleds, then:
>
> #chmod 0755 /etc/init.d/setleds
> #ln -s /etc/init.d/setleds /etc/rc2.d/S20setleds
>
> This woudl keep things in what seems to be the "Debian" way.
>
Doesn't update-rc.d more appropriate?
> Brooks
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
-- Shaul Karl <shaulk@israsrv.net.il>
Donate free food to the world's hungry: see http://www.thehungersite.com
Reply to: