Hallo,
möchte, dass mein Ubuntu Server bei nicht Benutzung abschaltet. Habe als Voralge >https://wiki.ubuntuusers.de/Skripte/Auto_OFF/< genutzt. Da die Abschaltung nach dem 2. Durchlauf nicht funktionierte habe ich die /etc/autoshutdown.conf geändert
# Turn on auto shutdown AUTO_SHUTDOWN=yes # Damons that always have one process running, only if more that one process is active we prevent the shutdown # The values are used with grep, so just a unique portion is sufficient DAMONS="" # Important applications that shall prevent the shutdown # The values are used with grep, so just a unique portion is sufficient APPLICATIONS="" # Network IP range for checking any open samba connections # The value is used with grep, so just a unique portion is sufficient SAMBANETWORK="" # Names or IP for computers that shall prevent the shutdown # We ping these computers in the list to check whether they are active. CLIENTS="" # List of ports # we check all of them, if there in use NETWORKPORTS=""
In der syslog kann ich erkennen das
(root) CMD (/usr/local/sbin/checkshutdown.sh )
ausgeführt wird, aber sonst kommt keine Fehlermeldung und der Server fährt auch nicht runter.