how to setup up start up programs
GOwin
ulist at gs1.ubuntuforums.org
Fri Jul 15 06:46:10 UTC 2005
I tried this on my Hoary installation. It doesn't seem to work. :(
I'm trying to run gammu automatically.
my etc/init.d/local
#! /bin/sh
gammu --smsd MYSQL /etc/smsdrc
Could someone tell me where I went wrong?
Graham Wrote:
> On Thursday 30 Jun 2005 18:58, Mustafa Abbasi wrote:
>
> > i wanted to setup azureus and firefox to start whenever i start
> > gnome. like startup in windows.
> > any idea how to do this in ubuntu.
> > it can be done in fedora's gnome but i can't figure out how to do it
> > in ubuntu
>
> I think I can help :-) You need to set up a local file as in other
> Linux
> distributions, but this is not usually present in Debian installations.
>
> The actual web page to do this is at:
>
> http://www.desktop-linux.net/debian-rclocal.htm
>
> but I note that the page is down at the moment, so here is a copy of
> the
> text from my archives:
>
> "Debian Rc.local Equivalent
>
> In many distributions you can add commands to run certain programs at
> the end of the boot process after all system services have been started
>
> into the /etc/rc.d/rc.local file, however there is no such file in a
> Debian system. Here is the way to accomplish the same thing the debian
>
> way:
>
>
> 1) Make a file called /etc/init.d/local with a text editor. This file
>
> is a script so it should always start with the following line:
>
> #! /bin/sh
>
> 2) Next, for example I have an always on cable modem and I want to
> use
> rdate to update the system time to atomic clock time at startup, so I
> add the following command to the file:
>
> rdate -s clock-1.cs.cmu.edu && hwclock --systohc
>
> (The rdate command updates your system time, then the hwclock command
>
> updates the bios clock)
>
> 3) Make this file executable with:
>
> chmod +x /etc/init.d/local
>
> 4) Next, link the new local file by running:
>
> update-rc.d local defaults 80"
>
> (omitting the quotes)
>
> Disclaimer: I have not used this with Ubuntu or Kubuntu (yet) so use
> with care, but it works well with Libranet!
>
>
> --
>
> Graham
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
GOwin
More information about the ubuntu-users
mailing list