Discover Snippets

yuuji / vga.sh Created at Sat May 26 18:51:31 JST 2018
vga.sh
#!/bin/sh
mode=1024x768
while getopts m:l i; do
  case $i in
    m)	mode=$OPTARG ;;
    l)	lvdsmode=1 ;;
  esac
done
shift $((OPTIND - 1))