projects
/
feed
/
telephony.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
miax: follow previous commit, add bluetooth changes to package Makefile
[feed/telephony.git]
/
admin
/
asterisk11-gui
/
files
/
agui-postinst
1
#!/bin/sh
2
3
CFG_PATH
=
"/etc/asterisk/"
4
GUI_CFG_PREFIX
=
"gui_"
5
CFG_FILES
=
"http.conf manager.conf users.conf"
6
7
for
i
in
$CFG_FILES
;
do
8
if
[
-f
$CFG_PATH$i
];
then
9
mv
$CFG_PATH$i $CFG_PATH$i
".backup"
10
fi
11
cp
$CFG_PATH$GUI_CFG_PREFIX$i $CFG_PATH$i
12
done