noob question on init scripts

listas at enelserver.com listas at enelserver.com
Wed Feb 23 01:34:33 UTC 2005


> I have a command I want to run every time I start the PC, would
> putting it in the init.d directory be the best practice way of doing
> it?
>
>
> --
> Ubuntu Warty 4.10 (desktop)
> and Hoary 5.04 (Laptop) (kernel 2.6.10-19 686)
>


copy /etc/init.d/skeleton to /etc/init.d/yourinit
edit to your needs
and  use  update-rc.d yourinit defaults


Leonel






More information about the ubuntu-users mailing list