|
Revision 523, 409 bytes
(checked in by rcourtna, 8 years ago)
|
Initial revision
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
# use this script like: |
|---|
| 3 |
# md5-amp_conf.sh 1.10.00X |
|---|
| 4 |
|
|---|
| 5 |
case "$1" in |
|---|
| 6 |
?*) |
|---|
| 7 |
|
|---|
| 8 |
cd ../amp_conf |
|---|
| 9 |
|
|---|
| 10 |
find var etc usr -type f \! -name 'vm_email.inc' \! -name 'defines.php' \! -name 'op_server.cfg' \! -name 'dialparties.agi' \! -name 'manager.conf' \! -name '*.pl' \! -name 'cdr_mysql.conf' \! -name 'voicemail.conf' | xargs md5sum > ../upgrades/$1.md5 |
|---|
| 11 |
|
|---|
| 12 |
;; |
|---|
| 13 |
*) |
|---|
| 14 |
|
|---|
| 15 |
echo "usage: md5-amp_conf <version>"; |
|---|
| 16 |
|
|---|
| 17 |
;; |
|---|
| 18 |
esac |
|---|