Gentoo und apm-event.d

Markus Wigge markus at cultcom.de
Thu Oct 23 18:00:37 CEST 2003


Moin,

ich würde gerne im /etc/apm/event.d Verzeichnis aus einem
Script heraus /etc/init.d/net.eth0 stop aufrufen wenn der
Rechner Suspended und das ganze mit "start" bei einem Resume.

Leider bekomme ich im syslog jetzt immer die Meldung dass Abhängigkeiten
nicht aufgelöst werden konnten (Could not get dpendency info for
"net.eth0" Please run /sbin/depscan.sh).

Kann man die gentoo-Init-Scripte nicht aus einem Script heraus aufrufen?
Das net.eth0-Script wird zwar noch beendet und wieder gestartet wie mir
scheint, alle Abhängigen Scripte (samba, netmount, ...) werden aber
nicht mit ausgeführt wie es auf der Konsole der Fall wäre.

Leider hat google mir noch nicht so richtig weitergeholfen.

bye,
   Markus

Hier noch ein kleiner Log-Auszug:

Oct 23 15:44:43 localhost apmd[843]: apmd_call_proxy: executing: 

'/etc/apm/apmd_proxy' 'suspend'
Oct 23 17:44:44 localhost rc-scripts: Could not get dependency info for 
"net"!
Oct 23 17:44:44 localhost rc-scripts: Please run:
Oct 23 17:44:44 localhost rc-scripts:   # /sbin/depscan.sh
Oct 23 17:44:44 localhost rc-scripts: to fix this.
Oct 23 17:44:44 localhost rc-scripts: Could not get dependency info for 
"net.eth0"!
Oct 23 17:44:44 localhost rc-scripts: Please run:
Oct 23 17:44:44 localhost rc-scripts:   # /sbin/depscan.sh
Oct 23 17:44:44 localhost rc-scripts: to fix this.




More information about the Linux mailing list