source: ipk/source.sh4/tools_callmonitor/CONTROL/postinst@ 23551

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
2TMP=/tmp/.TOOLS
3INSTDIR="$1"
4PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/callmonitor1
5
6if [ $INSTDIR != "/var" ]; then
7 ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/callmonitor1
8fi
9
10if [ -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
14fi
15
16exit 0
Note: See TracBrowser for help on using the repository browser.