Re: shutdown and reboot scripts

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 09:45:52AM +1000, Daniel Dalton wrote: Hi, Can someone tell me what script I can edit so when my box shuts down or reboots all my mounted devices get pumounted? (I use pmount to mount everything) So, how can I pumount all devices on /media? So basically I have 2

Re: shutdown and reboot scripts

2008-07-02 Thread Raj Kiran Grandhi
Daniel Dalton wrote: Hi, Can someone tell me what script I can edit so when my box shuts down or reboots all my mounted devices get pumounted? (I use pmount to mount everything) So, how can I pumount all devices on /media? So basically I have 2 questions: 1. What script can I place commands in

shutdown and reboot scripts

2008-07-01 Thread Daniel Dalton
Hi, Can someone tell me what script I can edit so when my box shuts down or reboots all my mounted devices get pumounted? (I use pmount to mount everything) So, how can I pumount all devices on /media? So basically I have 2 questions: 1. What script can I place commands in that runs at

Re: shutdown and reboot scripts

2008-07-01 Thread Mumia W..
On 07/01/2008 06:45 PM, Daniel Dalton wrote: Hi, Can someone tell me what script I can edit so when my box shuts down or reboots all my mounted devices get pumounted? (I use pmount to mount everything) So, how can I pumount all devices on /media? So basically I have 2 questions: 1. What script

Re: shutdown and reboot scripts

2008-07-01 Thread Daniel Dalton
On Tue, Jul 01, 2008 at 07:27:09PM -0500, Mumia W.. wrote: So basically I have 2 questions: 1. What script can I place commands in that runs at shutdown/reboot... 2. How do I pumount all devices in /media? Read man update-rc.d and this document: