浏览代码

umount /boot after update

Waldemar Brodkorb 14 年之前
父节点
当前提交
8cc108e32a
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      package/base-files/src/sbin/adkupdate

+ 3 - 0
package/base-files/src/sbin/adkupdate

@@ -76,5 +76,8 @@ esac
 
 sync
 mount -o bind /etc /tmp/.cfgfs/root
+if [ "$system" == "RB532" ];then
+	umount -f /boot
+fi
 
 echo "Update sucessful. You should reboot now."