File: 41_custom.in

package info (click to toggle)
grub2 2.06-13%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 66,200 kB
  • sloc: ansic: 410,596; asm: 16,253; sh: 9,912; cpp: 2,049; makefile: 1,547; python: 1,468; sed: 427; lex: 393; yacc: 268; awk: 79; lisp: 50; perl: 31
file content (9 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
#!/bin/sh
cat <<EOF
if [ -f  \${config_directory}/custom.cfg ]; then
  source \${config_directory}/custom.cfg
elif [ -z "\${config_directory}" -a -f  \$prefix/custom.cfg ]; then
  source \$prefix/custom.cfg
fi
EOF