+#
+# Check for the root user
+test_root() {
+ my_uid=`id -u`
+ my_name=`id -u -n`
+ if [ $my_uid -ne 0 ]; then
+ echo
+ echo "********************************************************************"
+ echo "Hello, $my_name. Since you are not running as the root user, it"
+ echo "is possible that this script will fail to install the needed files."
+ echo "If this happens then please use the root account and re-execute the"
+ echo "'make kernel' command. (This script is paused for 10 seconds.)"
+ echo "********************************************************************"
+ echo
+ sleep 10s
+ fi
+}
+
+test_root
+
+echo
+echo "Notice to the user:"
+echo
+echo "It is perfectly legal for this script to run without making any changes"
+echo "to your system. This means that the system currently contains the"
+echo "necessary changes to support this package. Please do not attempt to"
+echo "force this script to replace any file nor make any patch. If you do so"
+echo "then it is probable that you are actually putting older, buggier, code"
+echo "over the newer, fixed, code. Thank you."
+echo
+echo Installing into kernel version $KERNEL in $LINUXSRC
+echo
+