2.9BSD/usr/src/sys/conf/scr

awk  '/^#/ {next} $1 != "" { printf "%s=%s\n", $1, $2 }' Foo