Przeglądaj źródła

umount /boot after update

Waldemar Brodkorb 14 lat temu
rodzic
commit
8cc108e32a
1 zmienionych plików z 3 dodań i 0 usunięć
  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."