Adding the Wizard to the ISO
Posted: 13 May 2015, 09:21
Hi
Using PKE 3.3 i want to have all files on the ISO image : Modules and Wizard. Why ? because where i have to implement the solution there is no WAN (Internet access), its a LAN with access to LAN servers and done, they can't for example download modules or even wizard.
For the Modules its ok i added them to the ISO and it works successfully.
But for the wizard i don't know where exactly i can put it and of course how to tell the shell script file where to find it.
I know that the changes would probably be in this section of the program : (according to my newbie capacities to read this huge shell script)
But where and what ?
May be the person who programed it could help @Fanthom .
Thank you
Using PKE 3.3 i want to have all files on the ISO image : Modules and Wizard. Why ? because where i have to implement the solution there is no WAN (Internet access), its a LAN with access to LAN servers and done, they can't for example download modules or even wizard.
For the Modules its ok i added them to the ISO and it works successfully.
But for the wizard i don't know where exactly i can put it and of course how to tell the shell script
Code: Select all
/../kiosk/boot/initrd.xz/initrd/init
I know that the changes would probably be in this section of the program : (according to my newbie capacities to read this huge shell script)
Code: Select all
echo $i"downloading kiosk data from the server"
./busybox wget -q -O /mnt/default.jpg http://$IP/docs/default.jpg; ./busybox wget -q -O /mnt/kiosk.sgn http://$IP/docs/kiosk.sgn
for x in `./busybox wget -q -O- http://$IP/xzm | tr " " "\n" | grep -i "href.*.xzm</" | cut -d">" -f2 | cut -d"<" -f1`; do echo "$x" >>/tmp/modules-pxe; done
grep -q xzm /tmp/modules-pxe 2>/dev/null && rm -rf /lib || { echo "[31m""HTTP server not accessible? - exiting ...""[0m"; escape; }; NUM=`grep -c '.' /tmp/modules-pxe 2>/dev/null`
for y in `cat /tmp/modules-pxe 2>/dev/null`; do echo -en "[1;33m"" ($NUM modules left) \r""[0m"; let NUM=NUM-1; ./busybox wget -q -O $PTH/$y http://$IP/xzm/$y 2>/dev/null; done
killall busybox; for nic in `ls /sys/class/net | grep eth`; do ifconfig $nic down; done
May be the person who programed it could help @Fanthom .
Thank you