##// END OF EJS Templates
a
Unknown -
r546:5752e3ba5f07
parent child
Show More
@@ -8,11 +8,6
8 8 # Install and setup fstab
9 9 install_readonly files/mount/fstab "${ETC_DIR}/fstab"
10 10
11 if [ "$ENABLE_USBBOOT" = true ] ; then
12 sed -i "s/mmcblk0p1/sda1/" "${ETC_DIR}/fstab"
13 sed -i "s/mmcblk0p2/sda2/" "${ETC_DIR}/fstab"
14 fi
15
16 11 # Add usb/sda disk root partition to fstab
17 12 if [ "$ENABLE_SPLITFS" = true ] && [ "$ENABLE_CRYPTFS" = false ] ; then
18 13 sed -i "s/mmcblk0p2/sda1/" "${ETC_DIR}/fstab"
@@ -38,6 +33,11 if [ "$ENABLE_CRYPTFS" = true ] ; then
38 33 fi
39 34 fi
40 35
36 if [ "$ENABLE_USBBOOT" = true ] ; then
37 sed -i "s/mmcblk0p1/sda1/" "${ETC_DIR}/fstab"
38 sed -i "s/mmcblk0p2/sda2/" "${ETC_DIR}/fstab"
39 fi
40
41 41 # Generate initramfs file
42 42 if [ "$ENABLE_INITRAMFS" = true ] ; then
43 43 if [ "$ENABLE_CRYPTFS" = true ] ; then
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant