This website works better with JavaScript.
Home
Explore
Help
Sign In
ruhnet
/
kazoo-configs-kamailio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
183
Wiki
Activity
Browse Source
use db_scripts to create the database
drop_requests
lazedo
8 years ago
parent
318e5a5b6f
commit
344d299efc
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
kamailio/db_scripts/db_kazoo-specific
+1
-1
system/sbin/kazoo-kamailio
+ 1
- 1
kamailio/db_scripts/db_kazoo-specific
View File
@ -11,7 +11,7 @@ EOF
}
sql_setup() {
DB_KAZOO_LOCATION=${DB_KAZOO_LOCATION:-/etc/kamailio/db}
DB_KAZOO_LOCATION=${DB_KAZOO_LOCATION:-/etc/ka
zoo/ka
mailio/db}
mkdir -p ${DB_KAZOO_LOCATION}
KazooDB ${DB_KAZOO_LOCATION}/kazoo.db < $1
}
+ 1
- 1
system/sbin/kazoo-kamailio
View File
@ -60,7 +60,7 @@ mount_point_exists() {
}
init_database() {
KazooDB < /etc/kazoo/kamailio/kazoodb.sql
/etc/kazoo/kamailio/db_scripts/create-kazoodb-sql.sh
}
Write
Preview
Loading…
Cancel
Save