diff options
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-x | rc.d/init.d/halt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 05e3d460..bd89efcc 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -170,8 +170,8 @@ kill -TERM 1 # Remount read only anything that's left mounted. # echo $"Remounting remaining filesystems readonly" -mount | awk '{ print $3 }' | while read line; do - fstab-decode mount -n -o ro,remount $line +mount | awk '{ print $1,$3 }' | while read $dev $dir; do + fstab-decode mount -n -o ro,remount $dev $dir done # If we left mdmon's running wait for the raidsets to become clean |