/[baselayout]/trunk/init.d/halt.sh
Gentoo

Diff of /trunk/init.d/halt.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2547 Revision 2691
51 esac 51 esac
52fi 52fi
53 53
54unmounted=0 54unmounted=0
55# Remount the remaining filesystems read-only 55# Remount the remaining filesystems read-only
56# Most BSD's don't need this as the kernel handles it nicely
56if [ "${RC_UNAME}" != "FreeBSD" ] ; then 57if [ "${RC_UNAME}" = "Linux" ] ; then
57 ebegin "Remounting remaining filesystems read-only" 58 ebegin "Remounting remaining filesystems read-only"
58 # We need the do_unmount function 59 # We need the do_unmount function
59 . "${RC_LIBDIR}"/sh/rc-mount.sh 60 . "${RC_LIBDIR}"/sh/rc-mount.sh
60 eindent 61 eindent
61 do_unmount "mount -n -o remount,ro" "^(/dev|/dev/pts|/dev/shm|/proc|/proc/.*|/sys)$" 62 do_unmount "mount -n -o remount,ro" "^(/dev|/dev/pts|/dev/shm|/proc|/proc/.*|/sys)$"

Legend:
Removed from v.2547  
changed lines
  Added in v.2691

  ViewVC Help
Powered by ViewVC 1.1.20