Server IP : 15.235.198.142 / Your IP : 216.73.216.0 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/src/linux-headers-6.8.0-60/tools/testing/selftests/rcutorture/bin/ |
Upload File : |
#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # config_override.sh base override # # Combines base and override, removing any Kconfig options from base # that conflict with any in override, concatenating what remains and # sending the result to standard output. # # Copyright (C) IBM Corporation, 2017 # # Authors: Paul E. McKenney <paulmck@linux.ibm.com> base=$1 if test -r $base then : else echo Base file $base unreadable!!! exit 1 fi override=$2 if test -r $override then : else echo Override file $override unreadable!!! exit 1 fi T="`mktemp -d ${TMPDIR-/tmp}/config_override.sh.XXXXXX`" trap 'rm -rf $T' 0 sed < $override -e 's/^/grep -v "/' -e 's/=.*$/="/' | awk ' { if (last) print last " |"; last = $0; } END { if (last) print last; }' > $T/script sh $T/script < $base cat $override