Michael Biebl a écrit :
> Vincent Danjean wrote:
>> How can I know which scripts are run by this applet ?
> 
> g-p-m calls the HAL Hibernate() method, which in turn runs the script
> /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux
> 
> See the line
> #Other distros just need to have *any* tools installed
> following. The first script that is found is run. Which one do you have?

[EMAIL PROTECTED]:~$ ls -l /usr/sbin/pm-hibernate
ls: /usr/sbin/pm-hibernate: Aucun fichier ou répertoire de ce type
[EMAIL PROTECTED]:~$ ls -l /usr/bin/powersave
ls: /usr/bin/powersave: Aucun fichier ou répertoire de ce type
[EMAIL PROTECTED]:~$ ls -l /usr/sbin/pmi
ls: /usr/sbin/pmi: Aucun fichier ou répertoire de ce type
[EMAIL PROTECTED]:~$ ls -l /usr/sbin/hibernate
-rwxr-xr-x 1 root root 25549 2006-10-12 10:46 /usr/sbin/hibernate
[EMAIL PROTECTED]:~$ dlocate /usr/sbin/hibernate
hibernate: /usr/sbin/hibernate
hibernate: /usr/sbin/hibernate-ram
hibernate: /usr/sbin/hibernate-disk
[EMAIL PROTECTED]:~$

So this is the /usr/sbin/hibernate script from the hibernate package,
with no change from the basic configuration:

[EMAIL PROTECTED]:/tmp$ dpkg -x 
/var/cache/apt/archives/hibernate_1.94-2_all.deb hibernate
[EMAIL PROTECTED]:/tmp$ diff -r hibernate/etc/hibernate /etc/hibernate
Seulement dans /etc/hibernate: hibernate.conf.dpkg-old
[EMAIL PROTECTED]:/tmp$

  Best regards,
    Vincent


> Cheers,
> Michael


Reply via email to