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

Last change on this file since 46541 was 46274, checked in by obi, 3 years ago

update lost files with install echo

  • Property svn:executable set to *
File size: 475 bytes
Line 
1#!/bin/sh
2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6
7if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
8 opkg update
9 opkg install titan-plugin-tools-callmonitor1 --dest $1
10fi
11
12INSTDIR="$1"
13PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
14
15if [ -e /tmp/callmon.conf ]; then
16 mv "$PLUGINDIR/callmon.conf" "$PLUGINDIR/callmon.conf_org"
17 cp /tmp/callmon.conf "$PLUGINDIR/callmon.conf"
18 rm /tmp/callmon.conf
19fi
20
21exit 0
Note: See TracBrowser for help on using the repository browser.