Debian Developers - Bug in apmd debian scripts

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > March 2004 > Bug in apmd debian scripts





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Bug in apmd debian scripts
Clemens Wacha

2004-03-25, 6:34 am

Hello,

in /etc/apm/apmd_proxy script it says

if [ we are going to suspend ]; then
run-parts /etc/apm/suspend.d
fi

in suspend.d you have symlinks to /etc/apm/scripts.d

this does not work because run-parts only executes script but does
NOT follow links to scripts

And btw it's highly confusing that we have more than one possibility
to run scripts on suspend/resume events
1. from /etc/apm/event.d
2. from /etc/apm/resume.d
3. from /etc/apm/suspend.d
4. from /etc/apm/other.d

.... etc

I'd vote for seperate dirs like
suspend.d (all suspend requests)
standby.d (all standby requests)
resume.d (all resume requests)
battery.d (change battery request ( the request that tells us when
battery is low)

and other.d (for other change requests)

and completely remove script.d because it doesnt work anyway and
remove events.d because it makes thing more difficult than needed
and its function is less obvious than the folder approach.

Just my 2 cents

Regards
--
Clemens Wacha wacha@gmx.ch ICQ:12620942

succesfully using Linux since 1999. See http://www.debian.org


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com