LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make script as start up? (https://www.linuxquestions.org/questions/linux-newbie-8/make-script-as-start-up-898536/)

pua06 08-20-2011 07:05 PM

make script as start up?
 
i tried to make script start up when booting but no response

this steps that i did, i made it in my pc KDE and gnome and work but in xfce in another pc can't work

i have program motion and want this program be start up when booting i did it from gui
and it start when system booting
there was a script that need to start it after motion program start up so i put the script in rc5.d
and make priority less than motion
already i made script executable within
properties and permission
that i did in more details for script details
1-i make script check.sh put in /home/ubuntu
2-i make symbolic link because i make program auto start and i gave script
priority less than this program
sudo ln -sf /home/ubuntu/check.sh etc/rc5.d/S70check.sh
3-i go to session startup and put
Name check
commend /home/ubuntu/check.sh

i don't know why can't see this script as start when booting
thanks so much

frankbell 08-20-2011 07:10 PM

http://www.ubuntu-howto.info/howto/h...nit-mini-howto

The author refers to sysv-rc-conf towards the end of the article. I use that with my Debian system and really like it.

pua06 08-20-2011 11:28 PM

Quote:

Originally Posted by frankbell (Post 4448894)
http://www.ubuntu-howto.info/howto/h...nit-mini-howto

The author refers to sysv-rc-conf towards the end of the article. I use that with my Debian system and really like it.


thanks
i want to know this way depend on kernel version??????/

frankbell 08-22-2011 08:21 PM

pua06, no the kernel version should not affect this.

pua06 08-22-2011 09:12 PM

thanks
some ways to start up not work and depend on system that i read ?

pua06 08-22-2011 09:14 PM

can ask why way work and other not ?
depend on what ?


All times are GMT -5. The time now is 07:41 PM.