Skip to contentSkip to conversation

running prog on start up

DISCUSSION a a 5 participants 5 messages Sep 18, 2002 – Sep 19, 2002

lore
Share & tools
lore

a a

author
#0 lore raw

Hello,
I've written a program in c and want to run it as soon as BasicLinux boots up... the program is in /cr09 and i run the program using ./serialport

is there a startup stript that i can edit? what will i need to change?

thanks again

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 9 lines · a a

Hello,
I've written a program in c and want to run it as soon as BasicLinux boots up...
the program is in /cr09 and i run the program using ./serialport

is there a startup stript that i can edit? what will i need to change?

thanks again

I have no knowlage of Basiclinux, however most all distro's have a file called rc.local which is mostly located under /etc/rc.d
That file is the last file to be called in the boot chian, so thats the place to place commands to start local stuff.

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw

BasicLinux (was:Re: running prog on start up)

Quoted 8 lines · At 11:47 AM 9/18/02 +0000, pa3gcu wrote:
Quoted 7 lines · a a

Hello,
I've written a program in c and want to run it as soon as BasicLinux boots up...
the program is in /cr09 and i run the program using ./serialport

is there a startup stript that i can edit? what will i need to change?

Quoted 7 lines
Quoted 2 lines

thanks again

I have no knowlage of Basiclinux, however most all distro's have a file called rc.local which is mostly located under /etc/rc.d
That file is the last file to be called in the boot chian, so thats the place to place commands to start local stuff.

I took a moment to look at the BasicLinux home page. Three things of interest:

1. It is a mini-distribution derived from Slackware 3.5. This puts you (Richard) in a better position than some of the rest of us (me, at least) to address configuration issues, as they should mostly follow the Slackware model. (So your advice above is probably right on target for this user.)

2. It can be either a boot-from-floppy or a boot-from-harddisk-by-loadlin setup, loading to and running from a RAMdisk. (May work other ways too; I didn't read all the docs.) Worth remembering so we take account of the usual kinks this approach presents.

3. The home page (http://www.ibiblio.org/pub/linux/distributions/baslinux/) refers new users to this list as a source of advice. So we will probably see BasicLinux questions coming up regularly.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw

Re: BasicLinux (was:Re: running prog on start up)

Quoted 8 lines · Ray Olszewski

I took a moment to look at the BasicLinux home page. Three things of interest:

1. It is a mini-distribution derived from Slackware 3.5. This puts you (Richard) in a better position than some of the rest of us (me, at least) to address configuration issues, as they should mostly follow the Slackware model. (So your advice above is probably right on target for this user.)

Quoted 9 lines

2. It can be either a boot-from-floppy or a boot-from-harddisk-by-loadlin setup, loading to and running from a RAMdisk. (May work other ways too; I didn't read all the docs.) Worth remembering so we take account of the usual kinks this approach presents.

3. The home page (http://www.ibiblio.org/pub/linux/distributions/baslinux/)
refers new users to this list as a source of advice. So we will probably see BasicLinux questions coming up regularly.

I subscribed to this list because it was ref'd on the BasicLinux (BL) page. Truth be told, I use BL very rarely and rely mostly on more up-to-date distros like RH 7.3 and Mandrake 8.2, so this list has offerred some good learning opportunities for me in that respect. I, and some others I've seen posting here, were on another list where BL questions were fielded by the creator of BL, among others. But the creator of BL left that list. I've seen him post to this list, so you will likely see him responding to questions regarding BL here. I think he's probably quite busy now on his next release of BL, but you may see him pipe in on this thread as well.

James

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw
In reply to a a
Quoted 4 lines · a a

I've written a program in c and want to run it as soon as BasicLinux boots up...
is there a startup stript that i can edit?

The ramdisk version of BasicLinux uses a single startup
scrip: /etc/rc

When you install BasicLinux to its own HD partition, it uses several Slackware-type startup scripts. You will find them in /etc/rc.d. I suggest you execute your program at the end of /etc/rc.d/rc.M

Cheers,
Steven

______________________________
http://www.volny.cz/basiclinux

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs