1
0
This repository has been archived on 2025-07-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
orange_kernel/scripts/package/generic
2025-03-18 10:29:27 +08:00

16 lines
442 B
Bash

#!/bin/bash
full_version=`uname -r`
# First check for a fully qualified version.
this="/usr/lib/linux-tools/$full_version/`basename $0`"
if [ -f "$this" ]; then
exec "$this" "$@"
fi
# Give them a hint as to what to install.
echo "WARNING: `basename $0` not found for kernel $full_version" >&2
echo "" >&2
echo " You may need to install the following packages for this specific kernel:" >&2
echo " linux-tools-$full_version" >&2
exit 2