Add memtest support.
[syslinux-debian/hramrach.git] / debian / local / extlinux-functions.sh
blob5059a5a1f0e14d74849c5a008082f1f153fe54e4
2 # config_file
3 config_to_var(){
4 echo -n EXTLINUX_ ; echo "$1" | tr "a-z" "A-Z" | tr - _
7 # variable default
8 get_var(){
9 eval echo "\"\${$1:-$2}\""
12 # variable value
13 set_var(){
14 eval "$1=\"$2\""