mirror of https://github.com/mirror/busybox.git
Don't suppress output of umount and swapoff - it is both unwise
and incompatible with lash that doesn't support >&1 yet.1_00_stable_10817
parent
33bee33af0
commit
f5cf8c6c65
|
@ -78,6 +78,6 @@ tty6::respawn:/sbin/getty 38400 tty6
|
|||
#ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
|
||||
|
||||
# Stuff to do before rebooting
|
||||
::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1
|
||||
::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1
|
||||
::ctrlaltdel:/bin/umount -a -r
|
||||
::ctrlaltdel:/sbin/swapoff -a
|
||||
|
||||
|
|
|
@ -78,6 +78,6 @@ tty6::respawn:/sbin/getty 38400 tty6
|
|||
#ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
|
||||
|
||||
# Stuff to do before rebooting
|
||||
::ctrlaltdel:/bin/umount -a -r > /dev/null 2>&1
|
||||
::ctrlaltdel:/sbin/swapoff -a > /dev/null 2>&1
|
||||
::ctrlaltdel:/bin/umount -a -r
|
||||
::ctrlaltdel:/sbin/swapoff -a
|
||||
|
||||
|
|
Loading…
Reference in New Issue