Fix a synthax error which broke file systems restore
Merge pull request #252 from Arakmar/master

Fix a synthax error which broke file systems restore
correct the btrfs code in the LAYOUT_CODE (forgot the echo command!)
should fix the fix by Arakmar (was my mistake anyway:)
issue #252 can now be closed
Fix UEFI detection on some distributions like RHEL where efivars
kernel module is builtin. The check of
/sys/firmware/efi/{efi,efivars} is enough IMHO.
the mountopts was for /home not the correct one, therefore,
use the right corresponding mountopts for btrfs
see issue #252
I was wondering where the /dev/sda3 came from in diskrestore.sh code.
Seems it was hardcoded which was not the purpose -/ should have been $device
related with issue #252
Merge pull request #253 from Arakmar/UEFI

Fix UEFI detection on some distributions
Save and restore default mount options with tune2fs for ext4
Fix a regression introduced by 2d5445466d389b331c9ad1a984c66354415f21ea
A comma as IFS is irrelevant because we need options separated by comma
in one block. (eg : default_mount_options)
Also, it breaks the loop because spaces are used as separator in
disklayout.conf.
Add an option to copy all users and group.
It's usefull in the case we want to restore ACL of all users.
Automatic Recover feature
Handle the return code of ReaR
Automatic recover support on USB devices
Provide a menu after the recovery
Small improvement to logic to find syslinux version
Merge pull request #259 from dagwieers/syslinux-version

Small improvement to logic to find syslinux version
Make sure to not install grub legacy on EFI systems.
For instance, RHEL6 still uses a grub legacy but with EFI support.
Fix the bootloader path in the efibootmgr command.
Only one backslash is needed.
Check if grub legacy is using EFI when we add the Rear entry.
In this case grub config file path is at a different location.
Some fixes to the files used to create the EFI bootable ISO image :
- Rename the efi file to BOOTX64.efi (EFI standard)
- Use a correct configuration file when GRUB legacy EFI is detected.