|
Last change
on this file since 23551 was 23551, checked in by gost, 13 years ago |
|
[plugins] fix callmonitor
|
-
Property svn:executable
set to
*
|
|
File size:
376 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | TMP=/tmp/.TOOLS
|
|---|
| 3 | INSTDIR="$1"
|
|---|
| 4 | PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/callmonitor1
|
|---|
| 5 |
|
|---|
| 6 | if [ $INSTDIR != "/var" ]; then
|
|---|
| 7 | ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/callmonitor1
|
|---|
| 8 | fi
|
|---|
| 9 |
|
|---|
| 10 | if [ -e /tmp/callmon.conf ]; then
|
|---|
| 11 | mv $PLUGINDIR/callmon.conf $PLUGINDIR/callmon.conf_org
|
|---|
| 12 | cp /tmp/callmon.conf $PLUGINDIR/callmon.conf
|
|---|
| 13 | rm /tmp/callmon.conf
|
|---|
| 14 | fi
|
|---|
| 15 |
|
|---|
| 16 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.