How to have a program start up only if live-cd never ran?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
DesertPuppy
Posts: 34
Joined: Tue 08 Aug 2006, 20:58
Location: Mississippi

How to have a program start up only if live-cd never ran?

#1 Post by DesertPuppy »

I have a question and I think it is simple but can't figure it out. What I am doing is making a custom puppy and what I want to do is have it launch a program if it is booted from the CD with no saved files. Like when you boot pup the first time you get the dillo screen that gives help and barks , well I want to do the same thing but not sure where the config file is for that.

I hope this makes sense on how I am explaining it. Any help would be much appreciated.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

look in /usr/sbin/delayedrun

quote:

#on very 1st boot, PUPMODE=5, put up a welcome box
if [ $PUPMODE -eq 5 ];then

User avatar
DesertPuppy
Posts: 34
Joined: Tue 08 Aug 2006, 20:58
Location: Mississippi

#3 Post by DesertPuppy »

Thanks GuestToo , I would have spent forever going through all the files trying to find it, that's exactly what I was looking for. :!:

Post Reply