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
Carlos Ramos Carreño
slapos.package
Commits
61de57f1
Commit
61de57f1
authored
Sep 17, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-configure.sh: fix typos of openvpn download url
parent
1f0c965f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
windows/scripts/slapos-configure.sh
windows/scripts/slapos-configure.sh
+4
-3
No files found.
windows/scripts/slapos-configure.sh
View file @
61de57f1
...
@@ -387,9 +387,10 @@ function configure_section_openvpn()
...
@@ -387,9 +387,10 @@ function configure_section_openvpn()
# Check openvpn
# Check openvpn
_arch
=
x86
_arch
=
x86
check_os_is_wow64
&&
_arch
=
x64
check_os_is_wow64
&&
_arch
=
x64
_url
=
"http://dashingsoft.com/products/slapos/openvpn-
${
_arch
}
.tar.gz"
if
[[
!
-x
/usr/bin/openvpn.exe
]]
;
then
if
[[
!
-x
/usr/bin/openvpn.exe
]]
;
then
[[
!
-x
/opt/openvpn/bin/openvpn.exe
]]
&&
[[
!
-x
/opt/openvpn/bin/openvpn.exe
]]
&&
slapos_wget_file
http://dashingsoft.com/products/openvpn-
${
_arch
}
.tar.gz
~/openvpn.tar.gz
&&
slapos_wget_file
${
_url
}
~/openvpn.tar.gz
&&
(
cd
/opt
;
tar
xzf ~/openvpn.tar.gz
--no-same-owner
)
(
cd
/opt
;
tar
xzf ~/openvpn.tar.gz
--no-same-owner
)
for
name
in
openvpn.exe devcon.exe
\
for
name
in
openvpn.exe devcon.exe
\
...
@@ -404,7 +405,7 @@ function configure_section_openvpn()
...
@@ -404,7 +405,7 @@ function configure_section_openvpn()
if
[[
!
-f
${
_path
}
/OemWin2k.inf
]]
;
then
if
[[
!
-f
${
_path
}
/OemWin2k.inf
]]
;
then
mkdir
-p
${
_path
}
mkdir
-p
${
_path
}
[[
!
-f
/opt/openvpn/driver/OemWin2k.inf
]]
&&
[[
!
-f
/opt/openvpn/driver/OemWin2k.inf
]]
&&
slapos_wget_file
http://dashingsoft.com/products/openvpn-
${
_arch
}
.tar.gz
~/openvpn.tar.gz
&&
slapos_wget_file
${
_url
}
~/openvpn.tar.gz
&&
(
cd
/opt
;
tar
xzf ~/openvpn.tar.gz
--no-same-owner
)
(
cd
/opt
;
tar
xzf ~/openvpn.tar.gz
--no-same-owner
)
for
name
in
OemWin2k.inf tap0901.cat tap0901.sys
;
do
for
name
in
OemWin2k.inf tap0901.cat tap0901.sys
;
do
...
@@ -418,7 +419,7 @@ function configure_section_openvpn()
...
@@ -418,7 +419,7 @@ function configure_section_openvpn()
for
name
in
ovpn-client ovpn-server
;
do
for
name
in
ovpn-client ovpn-server
;
do
[[
-x
${
_path
}
/
${
name
}
.exe
]]
&&
continue
[[
-x
${
_path
}
/
${
name
}
.exe
]]
&&
continue
[[
!
-f
/opt/openvpn/re6st/
${
name
}
.exe
]]
&&
[[
!
-f
/opt/openvpn/re6st/
${
name
}
.exe
]]
&&
slapos_wget_file
http://dashingsoft.com/products/openvpn-
${
_arch
}
.tar.gz
~/openvpn.tar.gz
&&
slapos_wget_file
${
_url
}
~/openvpn.tar.gz
&&
(
cd
/opt
;
tar
xzf ~/openvpn.tar.gz
--no-same-owner
)
(
cd
/opt
;
tar
xzf ~/openvpn.tar.gz
--no-same-owner
)
csih_inform
"copy /opt/openvpn/re6st/
${
name
}
.exe to
${
_path
}
"
csih_inform
"copy /opt/openvpn/re6st/
${
name
}
.exe to
${
_path
}
"
...
...
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