diff options
Diffstat (limited to 'server/tftpboot/grub/grub.cfg')
-rw-r--r-- | server/tftpboot/grub/grub.cfg | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/server/tftpboot/grub/grub.cfg b/server/tftpboot/grub/grub.cfg index 53db4d84..56f19639 100644 --- a/server/tftpboot/grub/grub.cfg +++ b/server/tftpboot/grub/grub.cfg @@ -1,2 +1,9 @@ -source "$prefix/$net_default_mac" +# Cargo configuración PC +configfile=$prefix/01-$net_default_mac +source "$configfile" +# Si no existe anterior cargo configuracion por defecto +# Lo compruebo buscando variables más usuales +if [ "$timeout" == "" -a "$default" == "" ]; then + source "$prefix/default" +fi |