Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
415
Issues
415
List
Boards
Labels
Service Desk
Milestones
Merge Requests
67
Merge Requests
67
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
d9d090c3
Commit
d9d090c3
authored
Nov 07, 2018
by
Tomek Mrugalski
🛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#61
,
!114
] Fixed 2 bugs in kea-admin
Thanks for a patch to lmasarati!
parent
926086ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/bin/admin/admin-utils.sh
src/bin/admin/admin-utils.sh
+2
-2
src/bin/admin/kea-admin.in
src/bin/admin/kea-admin.in
+1
-0
No files found.
src/bin/admin/admin-utils.sh
100755 → 100644
View file @
d9d090c3
...
...
@@ -22,7 +22,7 @@ mysql_execute() {
mysql
-N
-B
"
$@
"
-e
"
${
QUERY
}
"
retcode
=
$?
else
mysql
-N
-B
--database
=
"
${
db_name
}
"
--user
=
"
${
db_user
}
"
--password
=
"
${
db_password
}
"
-e
"
${
QUERY
}
"
mysql
-N
-B
--
host
=
"
${
db_host
}
"
--
database
=
"
${
db_name
}
"
--user
=
"
${
db_user
}
"
--password
=
"
${
db_password
}
"
-e
"
${
QUERY
}
"
retcode
=
$?
fi
...
...
@@ -36,7 +36,7 @@ mysql_execute_script() {
mysql
-N
-B
"
$@
"
<
"
${
file
}
"
retcode
=
$?
else
mysql
-N
-B
--database
=
"
${
db_name
}
"
--user
=
"
${
db_user
}
"
--password
=
"
${
db_password
}
"
<
"
${
file
}
"
mysql
-N
-B
--
host
=
"
${
db_host
}
"
--
database
=
"
${
db_name
}
"
--user
=
"
${
db_user
}
"
--password
=
"
${
db_password
}
"
<
"
${
file
}
"
retcode
=
$?
fi
...
...
src/bin/admin/kea-admin.in
View file @
d9d090c3
...
...
@@ -16,6 +16,7 @@
# Get the location of the kea-admin scripts
prefix
=
@prefix@
export
prefix
SCRIPTS_DIR_DEFAULT
=
@datarootdir@/@PACKAGE@/scripts
scripts_dir
=
${
SCRIPTS_DIR_DEFAULT
}
VERSION
=
@PACKAGE_VERSION@
...
...
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