blob: 4a7a73f83cdc0aed4c768c4eedbd3c7de926eeab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
LIBDIR=/usr/share/kernel-wedge/commands
set -e
command=$1
if [ -z "$command" ]; then
kernel-wedge
fi
if [ ! -x "$LIBDIR/$command" ]; then
echo "No such command."
exit 1
fi
exec man 1 "kernel-wedge-$command"
|