in reply to Re^2: Net-SSH-Expect & Fedora-18
in thread Net-SSH-Expect & Fedora-18
Shutdown would not be an option
The reboot command has no option for a delay, but there is a reboot option for the shutdown command, which also has a delay option.
shutdown -t 10 -r
will start a reboot after a 10 second delay. That should be plenty of time for the SSH session to end and the connection to close.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Net-SSH-Expect & Fedora-18
by hardy004 (Novice) on Jul 02, 2014 at 20:41 UTC | |
by RonW (Parson) on Jul 02, 2014 at 21:13 UTC | |
by hardy004 (Novice) on Jul 02, 2014 at 22:18 UTC | |
by RonW (Parson) on Jul 02, 2014 at 22:52 UTC |