123456789101112131415161718 |
- #!/bin/sh
- #set license
- licensefile='/app/broadcast-system/data/zycoo_init/sql/.limited'
- cid=`cat /sys/block/mmcblk1/device/cid`e845116521d590069f285ddde46ee2cf
- openssl rand -hex 32 > $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- echo `openssl rand -hex 5``echo -n $cid |md5sum|awk '{print $1}'``openssl rand -hex 11` >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- openssl rand -hex 32 >> $licensefile
- rm -f /createlicense.sh
|