Install OpenElec PXE TFTP boot

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.openelec-fusion.sh";
echo "wget -q --no-check-certificate $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Configuration
# create autostartfile
storage/00252233d9d1/.config/autostart.sh

# xbmc config
storage/00252233d9d1/.xbmc/userdata/guisettings.xml

# configure remote
storage/00252233d9d1/.xbmc/userdata/keymaps/Keymap.xml

# system lirc / keyboard config
/usr/share/xbmc/system

Links
http://openelec.tv/get-openelec