Where do I put this script reference, please?
From: James Butler (stupidscript_at_hotmail.com)
Date: 08/20/04
- Previous message: Hobblenob: "Re: Xfree86 4.4 compiler/binutils/libc version dependencies?"
- Next in thread: Madhusudan Singh: "Re: Where do I put this script reference, please?"
- Reply: James Butler: "Re: Where do I put this script reference, please?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Aug 2004 09:40:36 -0700
I have a script that initializes my winmodem so kppp can find it.
The way I currently use it is to launch the script from a link/icon,
let the initialization happen, then I can launch kppp and it finds the
modem. I do this manually, each time I boot up the system (RH9).
I would like the script to run automatically.
I have set sudoers to allow my "normal" user to run this script, as it
requires root permissions, like running kppp does. I set sudoers to
allow my "normal" user to run kppp, too. There's no problem, in either
case.
Here's the script (invoked by "/sbin/sudo /etc/startmodem"):
/sbin/sudo /usr/bin/insmod -f pctel
/sbin/sudo /usr/bin/insmod -f ptserial
(I then run "/sbin/sudo /usr/bin/kppp" to launch kpp, successfully)
I need to be fully logged in as the "normal" user before I can launch
the script (I think), so I am wondering where I should place the
invocation in which startup file. Do I put it in xinitrc, or what?
I haven't experimented, because I don't want to screw up the boot/X
process, if I can help it. Frankly, I'm happy it works at all, however
it would be convenient to run the script automatically.
Thanks in advance for your advice.
- Previous message: Hobblenob: "Re: Xfree86 4.4 compiler/binutils/libc version dependencies?"
- Next in thread: Madhusudan Singh: "Re: Where do I put this script reference, please?"
- Reply: James Butler: "Re: Where do I put this script reference, please?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|