[Pardus-devel] How to execute a script at boot time?

Gürkan Zengin gurkan at pardususer.de
Fri Aug 5 00:09:29 EEST 2011


2011/8/4 Bahadır Kandemir <bahadir at pardus.org.tr>

> On Thursday 04 August 2011 23:24:00 Gürkan Zengin wrote:
> > I wrote a script for my own which should be executed during the boot
> > process of Pardus Linux. Therefore I stored the *.sh file under
> > /etc/init.d/ and marked/modified it as executable (chmod a+x ...). But
> > this script won't be executed on boot - that's strange for me. I remember
> > that this method was working in prior releases like Pardus 2009 or 2008.
> > But in 2011 not..
>
> As far as I remember, scripts under /etc/init.d/ were always ignored.
>
> You should use /etc/conf.d/local.start to run executables on boot.
>
>
Hi Bahadir, thanks for your response!

So in my case (if I understand correctly ^^^) I have to symlink my shell
script in /usr/bin/... before. Then I can put the name of this symlink in
/etc/conf.d/local.start like a command/executable?


-- 
Gürkan Zengin, aka "LinuxFanatic"
_____________________________________________________
German Pardus Linux Community - PardusUser.de !
http://www.pardususer.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.pardus.org.tr/pardus-devel/attachments/20110804/70496fa3/attachment.htm>


More information about the Pardus-devel mailing list