summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/rc.shutdown
blob: 8716dc59ef344bd59566e4d7d886a6899a827516 (plain)
1
2
3
4
5
6
#!/bin/sh
cd /
sync
for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }');do
	umount $i 2>/dev/null
done