Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
b3d41e4b
Commit
b3d41e4b
authored
Aug 11, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add-kernel-options: fixed adding if GRUB_CMDLINE_LINUX_DEFAULT in double quotes (eterbug #17553)
parent
dfdc44ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
epm-kernel_update
bin/epm-kernel_update
+1
-1
No files found.
bin/epm-kernel_update
View file @
b3d41e4b
...
@@ -123,7 +123,7 @@ kernel_options_add () {
...
@@ -123,7 +123,7 @@ kernel_options_add () {
if
[
$bootloader
=
"systemd"
]
;
then
if
[
$bootloader
=
"systemd"
]
;
then
sed
-i
"/^
$options
/ s~
\$
~
$search_string
~"
"
$entry_file
"
sed
-i
"/^
$options
/ s~
\$
~
$search_string
~"
"
$entry_file
"
else
else
sed
-i
"s|
^
\(
$options
'.*
\)
'
\$
|
\1
$search_string
'
|"
"
$entry_file
"
sed
-i
"s|
\(
^
$options
[
\"
']
\)\(
.*
\)\(
[
\"
']
\)
|
\1\2
$search_string
\3
|"
"
$entry_file
"
fi
fi
echo
"Added '
$search_string
' to the kernel boot parameters in
$entry_file
"
echo
"Added '
$search_string
' to the kernel boot parameters in
$entry_file
"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment