thunderbird and xorg updated (failing!), fai fstab - swap fix
[hdw-linux/hdw-linux.git] / fai / scripts / rc_fai.sh
index a839f69..d1e4f67 100755 (executable)
@@ -87,6 +87,8 @@ cat $myconf/disk | grep -v '^#' | while read nr mp fs ac; do
                fi
        fi
 done
+[ "$swap" != "0" -a -b ${disk}${swap} ] && \
+       echo -e "${disk}${swap}\tswap\tswap\tdefaults 0 0" >> $root/etc/fstab
 # packages might install new fstab file, stored.
 cp $root/etc/fstab $root/etc/fstab~