mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-02 20:31:05 +02:00
fix potential data loss issue on failed umount (patch from #942)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5474 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
94d065bb1e
commit
e3eab11e63
@ -19,8 +19,8 @@ add)
|
||||
}
|
||||
;;
|
||||
remove)
|
||||
umount /tmp/$DEV
|
||||
rm -rf /dev/$DEV /tmp/$DEV
|
||||
umount /tmp/$DEV && rmdir /tmp/$DEV
|
||||
rm -f /dev/$DEV /tmp/$DEV
|
||||
;;
|
||||
esac
|
||||
} 2>&1 | logger
|
||||
|
Loading…
x
Reference in New Issue
Block a user