Explorar o código

umount /boot after update

Waldemar Brodkorb %!s(int64=14) %!d(string=hai) anos
pai
achega
8cc108e32a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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."