explicitly use /bin/bash for tuned scripts
This commit is contained in:
parent
ce3d092628
commit
3854797abb
10 changed files with 10 additions and 10 deletions
|
|
@ -41,7 +41,7 @@ except ImportError:
|
|||
from htmlentitydefs import name2codepoint
|
||||
|
||||
|
||||
SCRIPT_SH = """#!/bin/sh
|
||||
SCRIPT_SH = """#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
type getargs >/dev/null 2>&1 || . /lib/dracut-lib.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue