[prev in list] [next in list] [prev in thread] [next in thread]
List: ubuntu-users
Subject: Startup Scripts
From: craighagerman () gmail ! com (Craig Hagerman)
Date: 2005-09-06 2:32:58
Message-ID: 80d985600509051932648be870 () mail ! gmail ! com
[Download RAW message or body]
On 9/5/05, David M. Carney <carney1979 at gmail.com> wrote:
>
> If I want to add my own startup script to be run at bootup, how do I go
> about doing it?
>
>
Write a script. put it in the /etc/init.d/ directory.
Lets say you called it FOO. You then run
% update-rc.d FOO defaults
You can check out
% man update-rc.d for more information. It is a Debian utility to install
scripts. The option "defaults" puts a link to start FOO in run levels 2, 3,
4 and 5. (and puts a link to stop FOO into 0, 1 and 6.)
By the way, can anyone tell me what command I can use to tell what run level
I am currently in?
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050905/017f0141/attachment.htm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic