/[baselayout]/trunk/init.d/checkroot
Gentoo

Diff of /trunk/init.d/checkroot

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

Revision 2931 Revision 2932
19 grep -v "^[^ ]* / " /proc/mounts >> /etc/mtab 19 grep -v "^[^ ]* / " /proc/mounts >> /etc/mtab
20 20
21 # Now make sure /etc/mtab have additional info (gid, etc) in there 21 # Now make sure /etc/mtab have additional info (gid, etc) in there
22 local mnt= 22 local mnt=
23 mountinfo | while read mnt; do 23 mountinfo | while read mnt; do
24 if fstabinfo --quiet --mountcmd "${mnt}"; then 24 if fstabinfo --quiet "${mnt}"; then
25 mount -f -o remount "${mnt}" 25 mount -f -o remount "${mnt}"
26 fi 26 fi
27 done 27 done
28 28
29 # Remove stale backups 29 # Remove stale backups

Legend:
Removed from v.2931  
changed lines
  Added in v.2932

  ViewVC Help
Powered by ViewVC 1.1.20