Skip to content

Commit

Permalink
specify now to avoid default of 1m in reboot and shutdown rockstor#943
Browse files Browse the repository at this point in the history
  • Loading branch information
phillxnet committed Oct 11, 2015
1 parent f8bbd07 commit 44ec405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rockstor/system/osi.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,11 @@ def get_virtio_disk_serial(device_name):


def system_shutdown():
return run_command([SHUTDOWN, '-h'])
return run_command([SHUTDOWN, '-h', 'now'])


def system_reboot():
return run_command([SHUTDOWN, '-r'])
return run_command([SHUTDOWN, '-r', 'now'])


def md5sum(fpath):
Expand Down

0 comments on commit 44ec405

Please sign in to comment.