On Tue, Nov 25, 2003 at 01:43:45PM +0100, Michel Dänzer wrote:
>               # Invoke APM scripts
>               if [ -d /etc/apm/event.d ]; then
>                       run-parts --arg="suspend" --arg="resume" 
> /etc/apm/event.d
>               fi
>               if [ -d /etc/apm/suspend.d ]; then
>                       run-parts --arg="suspend" --arg="resume" 
> /etc/apm/suspend.d
>               fi

It seems to me that is possible for some scripts to be linked from
suspend.d to event.d. Don't you risk to execute some script twice in the
above way?

But again, is just a personal guess. The /etc/apm directory is very
example in its disorganization :-)

Cheers.

-- 
^Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Italy$
[EMAIL PROTECTED],debian.org,bononia.it} -- http://www.bononia.it/zack$
^Frequentando il mio maestro mi ero reso conto [.] che la logica poteva$
^servire a molto a condizione di entrarci dentro e poi di uscirne -Adso$

Attachment: signature.asc
Description: Digital signature

Reply via email to