mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
17 lines
378 B
Bash
Executable File
17 lines
378 B
Bash
Executable File
#!/usr/bin/env bash
|
|
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
|
|
while getopts "h${common_getopts_flags}" OPT; do
|
|
case "$OPT" in
|
|
h)
|
|
echo "https://github.com/cirosantilli/linux-kernel-module-cheat#getvar" 2>&1
|
|
exit
|
|
;;
|
|
?)
|
|
common_getopts_case "$OPT"
|
|
;;
|
|
esac
|
|
done
|
|
shift "$(($OPTIND - 1))"
|
|
common_setup
|
|
eval "echo \$common_${1}"
|