LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2011, 07:05 PM   #1
pua06
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Rep: Reputation: 0
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

Last edited by Tinkster; 08-20-2011 at 07:26 PM. Reason: non-english text removed.
 
Old 08-20-2011, 07:10 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,125
Blog Entries: 14

Rep: Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065
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.
 
1 members found this post helpful.
Old 08-20-2011, 11:28 PM   #3
pua06
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by frankbell View Post
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??????/
 
Old 08-22-2011, 08:21 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,125
Blog Entries: 14

Rep: Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065
pua06, no the kernel version should not affect this.
 
Old 08-22-2011, 09:12 PM   #5
pua06
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Original Poster
Rep: Reputation: 0
thanks
some ways to start up not work and depend on system that i read ?

Last edited by pua06; 08-22-2011 at 09:15 PM.
 
Old 08-22-2011, 09:14 PM   #6
pua06
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Original Poster
Rep: Reputation: 0
can ask why way work and other not ?
depend on what ?

Last edited by pua06; 08-22-2011 at 09:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make a bash script start automaticly when system restart sezam2 Programming 1 04-04-2009 08:27 PM
make sure start up script starts after xorg has knobby67 Debian 1 11-09-2008 05:23 PM
Make a bash script loop from start evansd321 Linux - Newbie 5 08-29-2008 11:37 AM
Need to make a start up script chr0no Mandriva 4 08-05-2004 10:46 AM
How to create a tiny script and make it start automatically tchigi Linux - Newbie 2 11-28-2003 03:48 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration