Re: custom init script

2011-03-20 Thread Rob Owens
On Fri, Mar 18, 2011 at 02:39:27PM +0100, Alex Mestiashvili wrote: > On 03/18/2011 01:35 PM, Rob Owens wrote: > >If I create a custom init script (it's for a second instance of ssh), > >do I still use the update-rc.d command to set that script to start in > >the vario

Re: custom init script

2011-03-19 Thread Chris Bannister
On Fri, Mar 18, 2011 at 08:35:51AM -0400, Rob Owens wrote: > If I create a custom init script (it's for a second instance of ssh), > do I still use the update-rc.d command to set that script to start in > the various runlevels? Or is there some new procedure due to the > depe

Re: custom init script

2011-03-18 Thread Alex Mestiashvili
On 03/18/2011 01:35 PM, Rob Owens wrote: If I create a custom init script (it's for a second instance of ssh), do I still use the update-rc.d command to set that script to start in the various runlevels? Or is there some new procedure due to the dependency-based init sequence. Durin

custom init script

2011-03-18 Thread Rob Owens
If I create a custom init script (it's for a second instance of ssh), do I still use the update-rc.d command to set that script to start in the various runlevels? Or is there some new procedure due to the dependency-based init sequence. During the squeeze upgrade, I had to remove my custom

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Ken Irving
On Thu, Jan 22, 2009 at 02:48:16PM +0100, Sander Marechal wrote: > Ken Irving wrote: > > A red message? I missed the earlier part of the thread so don't know > > what you're dealing with, but I suspect you must be in a gui environment, > > and telling the system to shut down via a mouse click or s

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Daniel Burrows
On Thu, Jan 22, 2009 at 02:48:16PM +0100, Sander Marechal was heard to say: > > If you turn off your gui environment and shutdown from a console, e.g., > > hit Alt-F1 to go to tty1, then enter "sudo shutdown -h now" or similar, > > then I would think you'd see some messages there. > > Yes, th

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Sander Marechal
Ken Irving wrote: > A red message? I missed the earlier part of the thread so don't know > what you're dealing with, but I suspect you must be in a gui environment, > and telling the system to shut down via a mouse click or something. Yes. I am using the standard Debian Deskop task, so that's Gno

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Ken Irving
er script. > > Or perhaps you're assuming (but not stating) some other factors that > > might have bearing on your question. > > I am starting to think that this has nothing to do with my custom init > script but with my system as a whole. I don't see *any* output wh

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Sander Marechal
ing on your question. I am starting to think that this has nothing to do with my custom init script but with my system as a whole. I don't see *any* output when I shot down or reboot. Only the red "Shutting down, please wait" message, but nothing after that. If I remove my custom init scr

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Sander Marechal
got anything to do with my custom init script but with my init system as a whole? My previous Lenny machine did show messages when shutting down. This one does not. -- Sander -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe&quo

Re: How to see the output of a custom init script on Lenny?

2009-01-21 Thread Jeff D
On Tue, 20 Jan 2009, Sander Marechal wrote: > Hello, > > I have written a simplistic custom init script that makes a backup of my > entire system using `rsync -vv`. I have symlinked this script as > /etc/rc0.d/K00backup and /etc/rc6.d/K00backup so that the backup occurs > wh

Re: How to see the output of a custom init script on Lenny?

2009-01-21 Thread Andrew McGlashan
Hi, Sander Marechal wrote: Is there nobody who knows how to show the stdout ouput of an init script during shutdown? Could you perhaps "tee" the output to /dev/console or /dev/tty ? Kind Regards AndrewM Andrew McGlashan Broadband Solutions now including VoIP -- To UNSUBSCRIBE, email to deb

Re: How to see the output of a custom init script on Lenny?

2009-01-21 Thread Ken Irving
On Wed, Jan 21, 2009 at 10:21:55PM +0100, Sander Marechal wrote: > Is there nobody who knows how to show the stdout ouput of an init script > during shutdown? My guess is that the answer is "no". Output should just show up on the console after you initiate shutdown from there. Until the console

Re: How to see the output of a custom init script on Lenny?

2009-01-21 Thread Sander Marechal
Is there nobody who knows how to show the stdout ouput of an init script during shutdown? Kind regards, -- Sander Marechal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

How to see the output of a custom init script on Lenny?

2009-01-20 Thread Sander Marechal
Hello, I have written a simplistic custom init script that makes a backup of my entire system using `rsync -vv`. I have symlinked this script as /etc/rc0.d/K00backup and /etc/rc6.d/K00backup so that the backup occurs whenever I reboot or shut down. When I was using Etch I would see the output of