Zeitverzögert herunterfahren




Linpus auf dem Aspire One

Zeitverzögert herunterfahren

Beitragvon Cental » So 7. Jun 2009, 08:43

Hallo,
mit welchen Befehl kann ich das Netbook zeitverzögert herunterfahren lassen ?

Ich habe schon :
sudo shutdown -h -t 10 now
sudo shutdown -t 10
sudo shutdown -h +10

versucht, nur leider fährt Linpus das Netbook immer sofort herunter. Unter Ubuntu funktionieren einige der Befehle einwandfrei.
Oder kennt jemand ein Shutdown-Script das funktioniert. Am besten wäre wenn eine Warnung erscheinen würde, das in x-Sekunden der PC herunterfährt und das man diesen Shutdown auch abbrechen könnte.
Danke.
Cental
 
Beiträge: 1
Registriert: So 7. Jun 2009, 07:52

von Anzeige » So 7. Jun 2009, 08:43

Anzeige
 

Re: Zeitverzögert herunterfahren

Beitragvon franco_bez » Sa 13. Jun 2009, 10:57

Code: Alles auswählen
shutdown --help
Usage: shutdown [OPTION]... TIME [MESSAGE]
Bring the system down.

Options:
  -r                          reboot after shutdown
  -h                          halt or power off after shutdown
  -H                          halt after shutdown (implies -h)
  -P                          power off after shutdown (implies -h)
  -c                          cancel a running shutdown
  -k                          only send warnings, don't shutdown
  -q, --quiet                 reduce output to errors only
  -v, --verbose               increase output to include informational messages
      --help                  display this help and exit
      --version               output version information and exit

TIME may have different formats, the most common is simply the word 'now' which
will bring the system down immediately.  Other valid formats are +m, where m is
the number of minutes to wait until shutting down and hh:mm which specifies the
time on the 24hr clock.

Logged in users are warned by a message sent to their terminal, you may include
an optional MESSAGE included with this.  Messages can be sent without actually
bringing the system down by using the -k option.

If TIME is given, the command will remain in the foreground until the shutdown
occurs.  It can be cancelled by Control-C, or by another user using the -c
option.

The system is brought down into maintenance (single-user) mode by default, you
can change this with either the -r or -h option which specify a reboot or
system halt respectively.  The -h option can be further modified with -H or -P
to specify whether to halt the system, or to power it off afterwards.  The
default is left up to the shutdown scripts.

Report bugs to <upstart-devel@lists.ubuntu.com>


sudo shutdown -c
bricht einen laufenden shutdown wieder ab.

Dein
shutdown -h +10
hätte also eigentlich funktionieren müssen ....
Linpus ist schon MERKWÜRDIG
franco_bez
 
Beiträge: 394
Registriert: Di 12. Aug 2008, 23:10


TAGS

Zurück zu Linpus

Wer ist online?

0 Mitglieder

cron