Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos.package
Commits
eb7ecc8c
Commit
eb7ecc8c
authored
May 07, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix openvpn driver path and scripts path
parent
d26f7b1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
windows/scripts/ip
windows/scripts/ip
+4
-4
No files found.
windows/scripts/ip
View file @
eb7ecc8c
...
@@ -322,11 +322,11 @@ function format_interface_name()
...
@@ -322,11 +322,11 @@ function format_interface_name()
#
#
function
install_tap_driver
()
function
install_tap_driver
()
{
{
local
FILENAME
=
"/etc/
openvpn
/driver/OemWin2k.inf"
local
FILENAME
=
"/etc/
slapos
/driver/OemWin2k.inf"
local
DEVFILE
=
$(
cygpath
-w
$FILENAME
)
local
DEVFILE
=
$(
cygpath
-w
$FILENAME
)
local
HWID
=
tap0901
local
HWID
=
tap0901
local
CHECKSCRIPT
=
$(
cygpath
-m
/etc/
openvpn
/check_driver_signing_dialog.vbs
)
local
CHECKSCRIPT
=
$(
cygpath
-m
/etc/
slapos/scripts
/check_driver_signing_dialog.vbs
)
local
GETSCRIPT
=
$(
cygpath
-m
/etc/
openvpn
/get_last_connection.vbs
)
local
GETSCRIPT
=
$(
cygpath
-m
/etc/
slapos/scripts
/get_last_connection.vbs
)
# check if ifname has been installed
# check if ifname has been installed
if
[[
!
"
$1
"
==
""
]]
;
then
if
[[
!
"
$1
"
==
""
]]
;
then
...
@@ -424,7 +424,7 @@ function uninstall_tap_driver()
...
@@ -424,7 +424,7 @@ function uninstall_tap_driver()
{
{
local
DEVCON
=
$(
which devcon.exe
)
local
DEVCON
=
$(
which devcon.exe
)
local
CSCRIPT
=
$(
which cscript.exe
)
local
CSCRIPT
=
$(
which cscript.exe
)
local
GETSCRIPT
=
$(
cygpath
-m
/etc/
openvpn
/get_pnpid_connection.vbs
)
local
GETSCRIPT
=
$(
cygpath
-m
/etc/
slapos/scripts
/get_pnpid_connection.vbs
)
if
[[
"
$1
"
==
""
]]
;
then
if
[[
"
$1
"
==
""
]]
;
then
echo
"Error: missing connection name"
echo
"Error: missing connection name"
...
...
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