1
0
Fork 0

explicitly use /bin/bash for tuned scripts

This commit is contained in:
Evgeni Golov 2020-12-13 12:28:39 +01:00
parent ce3d092628
commit 3854797abb
10 changed files with 10 additions and 10 deletions

View file

@ -41,7 +41,7 @@ except ImportError:
from htmlentitydefs import name2codepoint
SCRIPT_SH = """#!/bin/sh
SCRIPT_SH = """#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
type getargs >/dev/null 2>&1 || . /lib/dracut-lib.sh

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -205,7 +205,7 @@ set_disk_scheduler_quantum() {
restore_disk_scheduler_quantum() {
if [ -r "$DISK_QUANTUM_SAVE" ]; then
/bin/sh "$DISK_QUANTUM_SAVE" &>/dev/null
/bin/bash "$DISK_QUANTUM_SAVE" &>/dev/null
rm -f "$DISK_QUANTUM_SAVE"
fi
}

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /usr/lib/tuned/functions