source: ipk/source/tools_settime/CONTROL/postinst@ 41106

Last change on this file since 41106 was 41105, checked in by andy-1, 8 years ago

fix install settime

File size: 443 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3
4sed s#_path_#"$INSTDIR"#g -i "$INSTDIR/etc/oscam.emu"
5
6if [ ! -e "$INSTDIR/mnt/config/usercmd.sh" ]; then
7 echo "use tpk config file: usercmd.sh"
8 echo "rename $INSTDIR/mnt/config/usercmd.sh.usercmd > $INSTDIR/mnt/config/usercmd.sh"
9 mv "$INSTDIR/mnt/config/usercmd.sh.usercmd" "$INSTDIR/mnt/config/usercmd.sh"
10else
11 echo "found user config file: usercmd.sh"
12 echo "skip tpk config file: usercmd.sh.usercmd"
13fi
14
15exit 0
Note: See TracBrowser for help on using the repository browser.