Prechádzať zdrojové kódy

umount /boot after update

Waldemar Brodkorb 14 rokov pred
rodič
commit
8cc108e32a
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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."