13 lines
163 B
Bash
Executable file
13 lines
163 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
udevd &
|
|
udevadm trigger &> /dev/null
|
|
|
|
if CMD="$(which "$1")"; then
|
|
shift
|
|
exec "$CMD" "$@"
|
|
else
|
|
echo "Command not found: $1"
|
|
exit 1
|
|
fi
|