]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Revert ntfsfix. Please use something like init.d/ntfsfix for that.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 28 Oct 2007 17:36:44 +0000 (17:36 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 28 Oct 2007 17:36:44 +0000 (17:36 +0000)
svn-id: @8890

rc.d/rc.shutdown

index 65fc33d232f1d81ac5051759e97ff74ef9ed0dac..ebfd6f1093d3b03d3f59428a540bec481ed726e2 100755 (executable)
@@ -60,7 +60,6 @@ if ! is_yes "$VSERVER"; then
        retry=3
        force=
        remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs | securityfs | squashfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
-       mounted_ntfs=$(awk '/(^ ntfs )/ {print $1}' /proc/mounts)
        while [ -n "$remaining" -a "$retry" -gt 0 ]; do
                show "Unmounting file systems"; busy
                ERRORS=$(umount -a $force -t noproc,devfs 2>&1); rc=$?
@@ -92,12 +91,6 @@ if ! is_yes "$VSERVER"; then
 
        run_cmd "Remounting root filesystem in ro mode" mount -n -o remount,ro /
 
-       if [ -f "/usr/bin/ntfsfix" -a "$mounted_ntfs" ]; then
-               for filesystem in $mounted_ntfs; do
-                       /usr/bin/ntfsfix $filesystem
-               done
-       fi
-
        if is_yes "$EVMS_LVM" || [ -x /sbin/vgscan -a -x /sbin/vgchange ]; then
                lvmversion=$(/sbin/vgchange --version 2>/dev/null | awk '{gsub("vgchange: Logical Volume Manager ",""); gsub("LVM version:     ",""); gsub(/\..*/,"");print $1; exit}')
                if [ "$lvmversion" = "2" ] ; then
This page took 0.034001 seconds and 4 git commands to generate.