config_file

This variable is automatically set by GRUB to the name of configuration file that is being processed by commands configfile or normal. It is restored to the previous value when command completes.