committing changes in /etc made by "-bash"
Package changes:
This commit is contained in:
3
sysconfig/cpupower
Normal file
3
sysconfig/cpupower
Normal file
@@ -0,0 +1,3 @@
|
||||
# See 'cpupower help' and cpupower(1) for more info
|
||||
CPUPOWER_START_OPTS="frequency-set -g performance"
|
||||
CPUPOWER_STOP_OPTS="frequency-set -g ondemand"
|
||||
@@ -2,6 +2,8 @@
|
||||
#
|
||||
# adds static routes which go through device $1
|
||||
|
||||
. /etc/sysconfig/network-scripts/network-functions
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo $"usage: ifup-routes <net-device> [<nickname>]"
|
||||
exit 1
|
||||
@@ -19,7 +21,12 @@ handle_file () {
|
||||
line="$line via $(eval echo '$'GATEWAY$routenum)"
|
||||
fi
|
||||
line="$line dev $2"
|
||||
/sbin/ip route add $line
|
||||
|
||||
/sbin/ip route add $line || {
|
||||
net_log $"Failed to add route ${line}, using ip route replace instead." warning
|
||||
/sbin/ip route replace $line
|
||||
}
|
||||
|
||||
routenum=$(($routenum+1))
|
||||
done
|
||||
}
|
||||
@@ -35,6 +42,11 @@ handle_ip_file() {
|
||||
{ cat "$file" ; echo ; } | while read line; do
|
||||
if [[ ! "$line" =~ $MATCH ]]; then
|
||||
/sbin/ip $proto $type add $line
|
||||
|
||||
if [ $? != 0 ] && [ "$type" == "route" ] ; then
|
||||
net_log $"Failed to add route ${line}, using ip route replace instead." warning
|
||||
/sbin/ip $proto route replace $line
|
||||
fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
3
sysconfig/rngd
Normal file
3
sysconfig/rngd
Normal file
@@ -0,0 +1,3 @@
|
||||
# Optional arguments passed to rngd. See rngd(8) and
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1252175#c21
|
||||
RNGD_ARGS="--fill-watermark=0 -x pkcs11 -x nist"
|
||||
Reference in New Issue
Block a user