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
Xiaowu Zhang
slapos.package
Commits
d71e1b28
Commit
d71e1b28
authored
May 07, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing parameter in read command
parent
80a6abce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
windows/scripts/slapos-client-config.sh
windows/scripts/slapos-client-config.sh
+1
-1
windows/scripts/slapos-node-config.sh
windows/scripts/slapos-node-config.sh
+2
-2
No files found.
windows/scripts/slapos-client-config.sh
View file @
d71e1b28
...
@@ -73,5 +73,5 @@ sed -i -e "s%^cert_file.*$%cert_file = $client_certificate_file%" \
...
@@ -73,5 +73,5 @@ sed -i -e "s%^cert_file.*$%cert_file = $client_certificate_file%" \
$client_configure_file
$client_configure_file
echo
SlapOS Client configure successfully.
echo
SlapOS Client configure successfully.
read
-n
-t
10
-p
"Press any key to exit..."
read
-n
1
-t
10
-p
"Press any key to exit..."
exit
0
exit
0
windows/scripts/slapos-node-config.sh
View file @
d71e1b28
...
@@ -189,7 +189,7 @@ sed -i -e "s%^\\s*interface_name.*$%interface_name = $interface_guid%" \
...
@@ -189,7 +189,7 @@ sed -i -e "s%^\\s*interface_name.*$%interface_name = $interface_guid%" \
$node_config_file
$node_config_file
# Config slapproxy
# Config slapproxy
if
[[
$(
grep
-q
"^
\[
slapproxy
\]
"
$node_config_file
)
]]
;
then
if
!
$(
grep
-q
"^
\[
slapproxy
\]
"
$node_config_file
)
;
then
echo
"
echo
"
[slapproxy]
[slapproxy]
host = 127.0.0.1
host = 127.0.0.1
...
@@ -272,5 +272,5 @@ regtool -q set "$run_key\\$slapos_run_entry" \
...
@@ -272,5 +272,5 @@ regtool -q set "$run_key\\$slapos_run_entry" \
show_error_exit
"Add startup item failed."
show_error_exit
"Add startup item failed."
echo
SlapOS Node configure successfully.
echo
SlapOS Node configure successfully.
read
-n
-t
10
-p
"Press any key to exit..."
read
-n
1
-t
10
-p
"Press any key to exit..."
exit
0
exit
0
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