[Eisfair] E1 force reboot
Thomas Bork
tom at eisfair.org
So Okt 4 00:00:18 CEST 2015
Am 03.10.2015 um 14:46 schrieb Jürgen Pfautsch:
> Leider funktioniert kein reboot und auch kein reboot -f.
Dann stimmt mit Deinem eisfair etwas nicht. Bei mir funktioniert
reboot
shutdown -r now
init 6
und möglicherweise noch mehr.
> Hat jemand einen Hinweis?
testeis # ls -l `which reboot`
lrwxrwxrwx 1 root root 4 Jul 13 09:44 /sbin/reboot -> halt
testeis # ls -l /sbin/halt
-rwxr-xr-x 1 root root 11184 Sep 28 2013 /sbin/halt
testeis # /sbin/halt --help
usage: halt [-n] [-w] [-d] [-f] [-h] [-i] [-p]
-n: don't sync before halting the system
-w: only write a wtmp reboot record and exit.
-d: don't write a wtmp record.
-f: force halt/reboot, don't call shutdown.
-h: put harddisks in standby mode.
-i: shut down all network interfaces.
-p: power down the system (if possible, otherwise halt).
testeis # shutdown --help
shutdown: invalid option -- '-'
Usage: shutdown [-akrhPHfFnc] [-t sec] time [warning message]
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.
-h: halt after shutdown.
-P: halt action is to turn off power.
-H: halt action is to just halt.
-f: do a 'fast' reboot (skip fsck).
-F: Force fsck on reboot.
-n: do not go through "init" but go down real fast.
-c: cancel a running shutdown.
-t secs: delay between warning and kill signal.
** the "time" argument is mandatory! (try "now") **
testeis # init --help
init: invalid option -- '-'
Usage: init {-e VAR[=VAL] | [-t SECONDS]
{0|1|2|3|4|5|6|S|s|Q|q|A|a|B|b|C|c|U|u}}
--
der tom
[eisfair-team]
Mehr Informationen über die Mailingliste Eisfair