| Rev | Line | |
|---|
| [13992] | 1 | #!/bin/sh
|
|---|
| [23450] | 2 | INSTDIR="$1"
|
|---|
| [23668] | 3 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
|
|---|
| [15961] | 4 |
|
|---|
| [23551] | 5 | if [ $INSTDIR != "/var" ]; then
|
|---|
| [23668] | 6 | rm -rf /var/usr/local/share/titan/plugins/callmonitor1 >/dev/null 2>&1
|
|---|
| 7 | ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/callmonitor1
|
|---|
| [23551] | 8 | fi
|
|---|
| 9 |
|
|---|
| [18513] | 10 | if [ -e /tmp/callmon.conf ]; then
|
|---|
| [23668] | 11 | mv "$PLUGINDIR/callmon.conf" "$PLUGINDIR/callmon.conf_org"
|
|---|
| 12 | cp /tmp/callmon.conf "$PLUGINDIR/callmon.conf"
|
|---|
| [18513] | 13 | rm /tmp/callmon.conf
|
|---|
| 14 | fi
|
|---|
| 15 |
|
|---|
| [13992] | 16 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.