Re: automatic service start at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ali shahrokni wrote:
> Hello all,
> I am wondering how I can run "autofs start " automatically at startup of
> my system, so that I can log on to the network directly.
> I would appreciate any hints.

It depends on distro you are using. The easiest way (though not the best
I think) is to add an entry into "rc.local" file (I think you should
find somewhere in /etc subdirectories, because it depends on distro).
Second way is to use special tool to add service to startup, for example:

Gentoo: rc-update add autofs default
SUSE (at least SLES): user graphical application yast, and choose
Runlevel editor (i do not know the command line equivalent)
Red Hat(and fedora core, Mandrake too, I think...):
system-config-services (graphical tool), or chkconfig --add autofs
Ubuntu (i think debian too): tool rcconf

Arturas M.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux