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

Last change on this file since 23597 was 23551, checked in by gost, 13 years ago

[plugins] fix callmonitor

  • Property svn:executable set to *
File size: 376 bytes
RevLine 
[13992]1#!/bin/sh
2TMP=/tmp/.TOOLS
[23450]3INSTDIR="$1"
4PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/callmonitor1
[15961]5
[23551]6if [ $INSTDIR != "/var" ]; then
7 ln -s $PLUGINDIR /var/usr/local/share/titan/plugins/callmonitor1
8fi
9
[18513]10if [ -e /tmp/callmon.conf ]; then
[23450]11 mv $PLUGINDIR/callmon.conf $PLUGINDIR/callmon.conf_org
12 cp /tmp/callmon.conf $PLUGINDIR/callmon.conf
[18513]13 rm /tmp/callmon.conf
14fi
15
[13992]16exit 0
Note: See TracBrowser for help on using the repository browser.