Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ffbs
ffbs-gluon
Commits
6b7ce449
Commit
6b7ce449
authored
Oct 10, 2020
by
Kasalehlia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config-mode: show mesh-vpn options if parker is used
parent
8bdae04b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
package/gluon-config-mode-mesh-vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua
...vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua
+2
-1
No files found.
package/gluon-config-mode-mesh-vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua
View file @
6b7ce449
...
...
@@ -2,9 +2,10 @@ local unistd = require 'posix.unistd'
local
has_fastd
=
unistd
.
access
(
'/lib/gluon/mesh-vpn/fastd'
)
local
has_tunneldigger
=
unistd
.
access
(
'/lib/gluon/mesh-vpn/tunneldigger'
)
local
has_parker
=
unistd
.
access
(
'/lib/gluon/mesh-vpn/parker'
)
return
function
(
form
,
uci
)
if
not
(
has_fastd
or
has_tunneldigger
)
then
if
not
(
has_fastd
or
has_tunneldigger
or
has_parker
)
then
return
end
...
...
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