Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
Jacklull
k3s
Commits
701e7e45
Commit
701e7e45
authored
Feb 02, 2024
by
Mikhail Vorobyov
Committed by
Brad Davidson
Feb 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix iptables check when sbin isn't in user PATH
Signed-off-by:
Mikhail Vorobyov
<
mikhail.vorobev@uni.lu
>
parent
fa118505
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
install.sh
install.sh
+1
-1
install.sh.sha256sum
install.sh.sha256sum
+1
-1
No files found.
install.sh
View file @
701e7e45
...
...
@@ -1057,7 +1057,7 @@ openrc_start() {
}
has_working_xtables
()
{
if
command
-v
"
$1
-save"
1> /dev/null
&&
command
-v
"
$1
-restore
"
1> /dev/null
;
then
if
$SUDO
sh
-c
"command -v
\"
$1
-save
\"
"
1> /dev/null
&&
$SUDO
sh
-c
"command -v
\"
$1
-restore
\"
"
1> /dev/null
;
then
if
$SUDO
$1
-save
2>/dev/null |
grep
-q
'^-A CNI-HOSTPORT-MASQ -j MASQUERADE$'
;
then
warn
"Host
$1
-save/
$1
-restore tools are incompatible with existing rules"
else
...
...
install.sh.sha256sum
View file @
701e7e45
91e1015131eb5dad5967e7f1ef735222863edf9c2bf8a2eee1c96687c756e52e
install.sh
5902e8be9a2a6ca1bcab85de59a6917c766b08feef4ff32648d38c8efe6537c0
install.sh
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