Changeset 6663 for ipk/source/emus_kbox_1_01pre24/CONTROL/postinst
- Timestamp:
- Mar 26, 2011, 1:01:18 AM (15 years ago)
- File:
-
- 1 edited
-
ipk/source/emus_kbox_1_01pre24/CONTROL/postinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/emus_kbox_1_01pre24/CONTROL/postinst
r4651 r6663 1 1 #!/bin/sh 2 TMP=/tmp/.kbox 3 PLUGINDIR=/var/emu 2 TMP=/tmp/.keys 3 PLUGINDIR=/var/keys 4 PLUGINDIR=/var/bin 4 5 CONFIGDIR=/var/etc 5 if [ ! -e /var/keys/cwshare.cfg ]; then 6 echo "rename cwshare.cfg.kbox -> cwshare.cfg" 7 mv /var/keys/cwshare.cfg.kbox /var/keys/cwshare.cfg 8 fi 9 if [ ! -e /var/keys/kbox_cfg ]; then 10 echo "rename kbox_cfg.kbox -> kbox_cfg" 11 mv /var/keys/kbox_cfg.kbox /var/keys/kbox_cfg 12 fi 13 if [ ! -e /var/keys/nwcdcs.cfg ]; then 14 echo "rename nwcdcs.cfg.kbox -> nwcdcs.cfg" 15 mv /var/keys/nwcdcs.cfg.kbox /var/keys/nwcdcs.cfg 16 fi 17 echo "successful installed" 6 echo "successfully installed" 18 7 echo "syncing disk" 19 8 sync … … 23 12 echo new freespace size $FREE kb 24 13 fi 14 15 if [ ! -e /var/keys/cwshare.cfg ]; then 16 echo "use ipk config file: cwshare.cfg" 17 echo "rename /var/keys/cwshare.cfg.kbox > /var/keys/cwshare.cfg" 18 mv /var/keys/cwshare.cfg.kbox /var/keys/cwshare.cfg 19 else 20 echo "found user config file: cwshare.cfg" 21 echo "skip ipk config file: cwshare.cfg.kbox" 22 fi 23 24 if [ ! -e /var/keys/kbox_cfg ]; then 25 echo "use ipk config file: kbox_cfg" 26 echo "rename /var/keys/kbox_cfg.kbox > /var/keys/kbox_cfg" 27 mv /var/keys/kbox_cfg.kbox /var/keys/kbox_cfg 28 else 29 echo "found user config file: kbox_cfg" 30 echo "skip ipk config file: kbox_cfg.kbox" 31 fi 32 33 if [ ! -e /var/keys/nwcdcs.cfg ]; then 34 echo "use ipk config file: nwcdcs.cfg" 35 echo "rename /var/keys/nwcdcs.cfg.kbox > /var/keys/nwcdcs.cfg" 36 mv /var/keys/nwcdcs.cfg.kbox /var/keys/nwcdcs.cfg 37 else 38 echo "found user config file: nwcdcs.cfg" 39 echo "skip ipk config file: nwcdcs.cfg.kbox" 40 fi 41 25 42 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)