On Thu, Jan 27, 2011 at 11:40 PM, pahnin sd <[email protected]> wrote:

>
>
> On Thu, Jan 27, 2011 at 11:37 PM, Sharad Birmiwal <
> [email protected]> wrote:
>
>> > that does reverse. Now I have put windowstolinuxdcpp.py in startup
>> programs
>> > so half of the problem is solved but now I want to execute
>> > linuxtowindowsdcpp.py just before linux shuts down. How can I do it?
>> >
>>
>> You can create it as a service (put it in /etc/init.d) and add the
>> service to runlevel 6 and 0(?) ? That is the basic idea. Google a bit
>> more for a more authoritative guide.
>>
>> I was just reading about the inittab
> http://tille.garrels.be/old/linux/x2394.html
> in this link it was given tht /etc/inittab controls the shutdown or booting
> scripts but ubuntu doesn't have inittab but debian and fedora has!!
> plz explain
>
just got its answer ( https://twitter.com/mehulved/status/30691331248496640)
Many distros are moving away from sys v init. Ubuntu uses upstart. You'll
find init stuff in /etc/event.d dir

(via mehulved <https://twitter.com/mehulved>)


>
>> Sharad
>>
>> --
>> LUG@IITD - http://tinyurl.com/ycueutm
>>
>
>

-- 
LUG@IITD - http://tinyurl.com/ycueutm

Reply via email to