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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.package
Commits
70c21b47
Commit
70c21b47
authored
Sep 09, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos
modified: scripts/slapos-configure.sh modified: scripts/slapos-include.sh
parent
38c73b32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
windows/scripts/slapos-configure.sh
windows/scripts/slapos-configure.sh
+12
-10
windows/scripts/slapos-include.sh
windows/scripts/slapos-include.sh
+1
-1
No files found.
windows/scripts/slapos-configure.sh
View file @
70c21b47
...
...
@@ -421,7 +421,7 @@ function configure_section_openvpn()
csih_inform
"copy /opt/openvpn/re6st/
${
name
}
.exe to
${
_path
}
"
cp
/opt/openvpn/re6st/
${
name
}
.exe
${
_path
}
||
csih_error
"No available ovpn scripts:
${
name
}
"
fi
done
# Install re6stnet service if no native ipv6
if
!
cygrunsrv
--query
${
re6stnet_service_name
}
>
/dev/null 2>&1
;
then
...
...
@@ -548,7 +548,7 @@ readonly -f configure_section_test_agent
function
remove_configure_items
()
{
if
[[
"
${
_configure_sections
}
"
==
*
_client_
*
]]
then
if
[[
"
${
_configure_sections
}
"
==
*
_client_
*
]]
;
then
csih_inform
"Removing section client ..."
csih_inform
"Remove
${
client_configure_file
}
"
...
...
@@ -563,7 +563,7 @@ function remove_configure_items()
csih_inform
"Remove section client OK"
fi
if
[[
"
${
_configure_sections
}
"
==
*
_cron_
*
]]
then
if
[[
"
${
_configure_sections
}
"
==
*
_cron_
*
]]
;
then
csih_inform
"Removing section cron ..."
csih_inform
"Remove service
${
cron_service_name
}
"
...
...
@@ -576,12 +576,12 @@ function remove_configure_items()
csih_inform
"Remove section cron OK"
fi
if
[[
"
${
_configure_sections
}
"
==
*
_network_
*
]]
then
csih_inform
"Removing network
${
slapos_ifname
...
"
if
[[
"
${
_configure_sections
}
"
==
*
_network_
*
]]
;
then
csih_inform
"Removing network
${
slapos_ifname
}
..."
ipwin remove
*
msloop
${
slapos_ifname
}
&&
echo
"OK"
fi
if [[ "
${
_configure_sections
}
" == *_node_* ]] then
if
[[
"
${
_configure_sections
}
"
==
*
_node_
*
]]
;
then
csih_inform
"Removing section node ..."
csih_inform
"Remove
${
node_configure_file
}
"
...
...
@@ -596,7 +596,7 @@ function remove_configure_items()
csih_inform
"Remove section node OK"
fi
if [[ "
${
_configure_sections
}
" == *_re6stnet_* ]] then
if
[[
"
${
_configure_sections
}
"
==
*
_re6stnet_
*
]]
;
then
csih_inform
"Removing section re6stnet ..."
csih_inform
"Remove /opt/miniupnpc"
...
...
@@ -609,7 +609,7 @@ function remove_configure_items()
csih_inform
"Remove section re6stnet OK"
fi
if [[ "
${
_configure_sections
}
" == *_openvpn_* ]] then
if
[[
"
${
_configure_sections
}
"
==
*
_openvpn_
*
]]
;
then
csih_inform
"Removing section openvpn ..."
csih_inform
"Remove service
${
re6stnet_service_name
}
"
...
...
@@ -624,10 +624,12 @@ function remove_configure_items()
csih_inform
"Remove section openvpn OK"
fi
if [[ "
${
_configure_sections
}
" == *_slap-runner_* ]] then
if
[[
"
${
_configure_sections
}
"
==
*
_slap-runner_
*
]]
;
then
csih_inform
"Remove section slap-runner"
fi
if [[ "
${
_configure_sections
}
" == *_test-agent_* ]] then
if
[[
"
${
_configure_sections
}
"
==
*
_test-agent_
*
]]
;
then
csih_inform
"Remove section test-agent"
fi
}
readonly
-f
remove_configure_items
...
...
windows/scripts/slapos-include.sh
View file @
70c21b47
...
...
@@ -266,7 +266,7 @@ function slapos_wget_file()
wget
$1
-O
$2
||
return
1
csih_inform
"Got
$2
."
}
# === wget_slapos_file() === #
readonly
-f
wget_slapos
_file
readonly
-f
slapos_wget
_file
# ======================================================================
# Routine: slapos_create_privileged_user
...
...
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