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

Last change on this file since 41105 was 41105, checked in by andyjetset, 6 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.