-#!/bin/sh -e
+#!/usr/bin/env sh
# Find "real" keyboard devices and print their device path.
# Author: Martin Pitt <martin.pitt@ubuntu.com>
#
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
+set -e
+
# returns OK if $1 contains $2
strstr() {
[ "${1#*$2*}" != "$1" ]