Server IP : 10.254.12.21 / Your IP : 10.254.12.21 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40 System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/sbin/ |
Upload File : |
#!/bin/sh set -e # Evaluate new-kernel-pkg's configuration file. # Copyright (C) 2016 Free Software Foundation, Inc. # # GRUB is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # GRUB is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GRUB. If not, see <http://www.gnu.org/licenses/>. PACKAGE_NAME=GRUB PACKAGE_VERSION=2.02~beta2 datadir="/usr/share" if [ "x$pkgdatadir" = x ]; then pkgdatadir="${datadir}/grub" fi self=`basename $0` export TEXTDOMAIN=grub export TEXTDOMAINDIR="/usr/share/locale" . "${pkgdatadir}/grub-mkconfig_lib" # Usage: usage # Print the usage. usage () { gettext_printf "Usage: %s [OPTION]\n" "$self" gettext "Evaluate new-kernel-pkg configuration"; echo echo print_option_help "-h, --help" "$(gettext "print this message and exit")" print_option_help "-v, --version" "$(gettext "print the version information and exit")" echo } # Check the arguments. while test $# -gt 0 do option=$1 shift case "$option" in -h | --help) usage exit 0 ;; -v | --version) echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}" exit 0 ;; -*) gettext_printf "Unrecognized option \`%s'\n" "$option" 1>&2 usage exit 1 ;; # Explicitly ignore non-option arguments, for compatibility. esac done if test -f /etc/sysconfig/kernel ; then . /etc/sysconfig/kernel fi if [ "$MAKEDEBUG" = "yes" ]; then echo GRUB_LINUX_MAKE_DEBUG=true echo export GRUB_LINUX_MAKE_DEBUG echo GRUB_CMDLINE_LINUX_DEBUG=\"systemd.log_level=debug systemd.log_target=kmsg\" echo export GRUB_CMDLINE_LINUX_DEBUG echo GRUB_LINUX_DEBUG_TITLE_POSTFIX=\" with debugging\" echo export GRUB_LINUX_DEBUG_TITLE_POSTFIX fi