[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutdown and reboot scripts

On 07/01/2008 06:45 PM, Daniel Dalton wrote:

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 shutdown/reboot...
2. How do I pumount all devices in /media?

Read "man update-rc.d" and this document:


Reply to: