also not working at dm920 with OE 2.5, DreamOS 4.3.1r28 (14-05-2018), which uses libcurl.s0.4.4
Posts by ni_hao
-
-
Some remarks to the script.
Script is not monkey-proof, because when you have an underscore ("_") in the directory names (as I have), script does not create the files due to the statement: "AWK - F "_" ....".Minor remarks:
- why is in the script "$PWD"? $PWD is never used.
- in the beginning the paths (variables) are checked and - if not exist - a backslash ("/") is added as last character, however this will cause double backslashes in: for file in "$PathToPiconPNG"/*.png (this is a minor remark, since if will not effect the script) -
pr2: thanks for the script. Tried it on a dreambox 8K with 8GB USB.
The dir (paths) for picons and piconsTPL are (of course) at that USB (/media/usb2).
When running the script at my dm8K i see after some time several errors (see below). I aborted the script and immediatly did a df -h (see below)Code
Display Moreencoding with base64. ./OscamPiconsTpl.sh: line 133: can't create ./IC_0500_240A.tpl: No space left on device Image created ------------ IC_0500_240A Process: [/media/usb2/picon//1_0_1_240B_452_1_C00000_0_0_0.png] encoding with base64. ./OscamPiconsTpl.sh: line 133: can't create ./IC_0100_240B.tpl: No space left on device Image created ------------ IC_0100_240B encoding with base64. ./OscamPiconsTpl.sh: line 133: can't create ./IC_0500_240B.tpl: No space left on device Image created ------------ IC_0500_240B Process: [/media/usb2/picon//1_0_1_240E_7F9_2_11A0000_0_0_0.png] Process: [/media/usb2/picon//1_0_1_243B_2260_FBFF_820000_0_0_0.png] Process: [/media/usb2/picon//1_0_1_2441_7F9_2_11A0000_0_0_0.png] Process: [/media/usb2/picon//1_0_1_2455_23F0_13F_820000_0_0_0.png] encoding with base64. Image created ------------ IC_0100_2455 encoding with base64. Image created ------------ IC_0500_2455
Code
Display Moreroot@dm8000:/oscam/script# df -h Filesystem Size Used Available Use% Mounted on ubi0:rootfs 3.7G 498.7M 3.2G 13% / /dev/sdf1 3.7G 498.7M 3.2G 13% /flodder/root devtmpfs 155.1M 0 155.1M 0% /dev none 73.0M 2.9M 70.1M 4% /var/volatile /dev/mtdblock2 7.0M 3.7M 3.3M 52% /boot /dev/disk/by-label/USB2 7.5G 818.0M 6.7G 11% /media/usb2 /dev/disk/by-label/USB1 3.7G 498.7M 3.2G 13% /media/usb1 /dev/disk/by-label/CF 1.9G 36.7M 1.8G 2% /media/cf /dev/disk/by-uuid/fd00e52a-1387-44b9-ad58-c9b0a3a81456 1.9G 36.7M 1.8G 2% /media/USBCFReaderPart1 192.168.2.222:/media/USB1 1.8T 1.5T 177.0G 90% /media/net/NAS2_shuttle 192.168.2.222:/media/USB2 1.8T 570.8G 1.2T 31% /media/net/NAS3_shuttle 192.168.2.200:/Films 915.8G 44.8G 871.1G 5% /media/net/NAS1_qnap root@dm8000:/oscam/script# +
As you can see enough space, so why that error...?