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

Bahadır Kandemir bahadir at pardus.org.tr
Thu Aug 4 23:57:20 EEST 2011


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.

Cheers,
Bahadir


More information about the Pardus-devel mailing list