Fix bug for 5.9
This commit is contained in:
parent
286434cff2
commit
45a1d8ab0b
|
@ -32,7 +32,7 @@ apply () {
|
|||
if [ $FNRET = 0 ]; then
|
||||
ok "$TARGETNAME is disabled."
|
||||
else
|
||||
TARGETS=$(find /lib/systemd/ /etc/systemd/ -name ctrl-alt-del.target -exec ls -l {} \;| grep -v "/dev/null" | awk '{print $NF}')
|
||||
TARGETS=$(find /lib/systemd/ /etc/systemd/ -name ctrl-alt-del.target -exec ls {} \;| grep -v "/dev/null" | awk '{print $NF}')
|
||||
for TARGET in $TARGETS
|
||||
do
|
||||
warn "Disable $TARGET"
|
||||
|
|
|
@ -150,7 +150,6 @@ add_line_file_after_pattern() {
|
|||
}
|
||||
|
||||
replace_in_file() {
|
||||
set -x
|
||||
local FILE=$1
|
||||
local SOURCE=$2
|
||||
local DESTINATION=$3
|
||||
|
|
Loading…
Reference in New Issue