2009-06-11, 04:32 PM
well, i'm almost there....an auto-script that writes itself...
basically i just get server name info from /tmp/setting.txt [server1=] and insert that into the script, thereby making it edit itself! one size fits all...
i'm just using grep and a bash regex to parse it out...
only limitation so far is it has to be first share name...but i think i can get around that too by looking for mvpmcx2 existence on each of them..[tho that'll take some tweaking]
i knew there was an answer floatin around in my head somewhere, sorry if i've been a bit odd lately, been on pain killers for a broken rib...lol
hopefully this can help users with easier setup, for shares at least..
will post preliminary scripts soon...
basically i just get server name info from /tmp/setting.txt [server1=] and insert that into the script, thereby making it edit itself! one size fits all...
i'm just using grep and a bash regex to parse it out...
Quote:server1=` grep servname1 /tmp/setting.txt `;then insert that variable into a auto-loading page..thereby constructing a valid link from info on the pch itself, so it has to be right..
server1=${server1#*=};
only limitation so far is it has to be first share name...but i think i can get around that too by looking for mvpmcx2 existence on each of them..[tho that'll take some tweaking]
i knew there was an answer floatin around in my head somewhere, sorry if i've been a bit odd lately, been on pain killers for a broken rib...lol
hopefully this can help users with easier setup, for shares at least..
will post preliminary scripts soon...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie