Answer» i know that if we want to ask for user entry at the start up... we can use the filename.cfg...
but how to create that file?
the language use INSIDE it?
please help me
thanks im advanceAre you sure this questions relates to Linux? You've ASKED it in the Linux forum.
What operatings system/program are you referring to?yup.. i using Monta Vista linuxHmm. That looks like a fairly specialised Linux distribution. This is not how you would normally set up users. I think you will need to obtain technical support from the distributor or your supplier.
I don't know if it helps, but you can normally create and edit text files in Linux using one of the text editors. E.g. vi, emacs or joe at the command line, or something like Kate in KDE.thanks Pomeroy...
i've did the script using vi... the .cfg file is like some extras to the script.. instead of having user edit the script to change the variable, i decide to use user prompt..
i have a script that will continues running... i believed its not ok to enter ctrl+c... how is it? do i have to enter some lines at rc6.d...(since rc6.d is responsible for shutting down)I'm afraid I don't understand your question. Something is getting lost in translation.
If your script needs to exit when you shut down, it will just be terminated - you don't need to worry about init scripts unless you have a particularly need for them.thanks Rob Pomeroy..
i did understand now... i replace the termination of the script by prompting the user with choices...whether they want to continue running the program or execute to OS. to make it CONTINUOUSLY, i did put the timer assuming user enter yes if the times up...
hhehehe... we should try and try and try untill EVERYTHING run perfectly... Well I'm glad you've ended up with something that's working for you.
|