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
backup ramdisk on shutdown
4.2
swysor
8 years ago
parent
4932ced041
commit
84187b3a93
1 changed files
with
5 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
system/sbin/kazoo-kamailio
+ 5
- 0
system/sbin/kazoo-kamailio
View File
@ -85,6 +85,11 @@ start() {
stop() {
stop() {
killall ${BIN_FILE}
killall ${BIN_FILE}
RETVAL=$?
RETVAL=$?
if mount_point_exists; then
if [ -f /etc/kazoo/kamailio/kazoo.db ]; then
mv /etc/kazoo/kamailio/db /etc/kazoo/kamailio/db-old
fi
fi
}
}
restart() {
restart() {
Write
Preview
Loading…
Cancel
Save