]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/install/main.c
fstab: Make auto attribute for filesystem type.
[people/pmueller/ipfire-2.x.git] / src / install+setup / install / main.c
index 6a336135424143faa13fb265a0b4905db2b63b05..d5fe422df3e203488167ae85c77bba00365961ca 100644 (file)
@@ -528,20 +528,6 @@ int main(int argc, char *argv[]) {
        snprintf(commandstring, STRING_SIZE, "/bin/sed -i -e \"s#DEVICE4#UUID=$(/sbin/blkid %s -sUUID | /usr/bin/cut -d'\"' -f2)#g\" /harddisk/etc/fstab", destination->part_data);
        system(commandstring);
 
-       switch (destination->filesystem) {
-               case HW_FS_REISERFS:
-                       replace("/harddisk/etc/fstab", "FSTYPE", "reiserfs");
-                       break;
-
-               case HW_FS_EXT4:
-               case HW_FS_EXT4_WO_JOURNAL:
-                       replace("/harddisk/etc/fstab", "FSTYPE", "ext4");
-                       break;
-
-               default:
-                       assert(0);
-       }
-
        replace("/harddisk/boot/grub/grub.conf", "KVER", KERNEL_VERSION);
 
        snprintf(commandstring, STRING_SIZE, "/bin/sed -i -e \"s#root=ROOT#root=UUID=$(/sbin/blkid %s -sUUID | /usr/bin/cut -d'\"' -f2)#g\" /harddisk/boot/grub/grub.conf", destination->part_root);