Scripts: Firmware Customization - IGEL-Community/IGEL-Community.github.io GitHub Wiki

Citrix XenApp / XenDektop - Enable Connection Bar:

Note, this feature was introduced in Linux Receiver 13.4.

System > Firmware Customization > Custom Commands > Desktop Commands -> Final Desktop Command

sed -i -e 's/^;connectionbar/ConnectionBar/i' /services/ica/ICAClient/config/All_Regions.ini

switch to external Analog or external Display Port

System -> Firmware Customization -> Custom Commands -> Desktop Commands -> Final Desktop Command

external analog device:

su user -c "pacmd set-card-profile 0 output:analog-stereo"

external Display-Port:

  • UD3-LX50:
su -c "pacmd set-card-profile 0 output:hdmi-stereo" user
su -c "pacmd set-card-profile 1 off" user
  • UD5-LX30 (sound preferences do not show the displayport audio device):

su -c "pacmd set-card-profile 0 output:hdmi-stereo" user

  • UD5-LX40:

su -c "pacmd set-card-profile 0 output:hdmi-stereo" user

  • UD6-LX51:

su -c "pacmd set-card-profile 0 output:hdmi-stereo-extra1" user

Please reboot the client afterwards so that the settings can take effect at boot time

set hostname to serial number from BIOS

System -> Firmware Customization -> Custom Commands -> Base -> Initialization

#!/bin/bash
RENAMEVAR=$(dmidecode -t system | grep -i "serial" | cut -c 17-)
HOSTNAME=$(hostname)
if [ "$RENAMEVAR" != "$HOSTNAME" ]
then
setparam network.dns.hostname $RENAMEVAR
killall postsetupd
write_rmsettings
fi

set hostname to asset tag from BIOS

System -> Firmware Customization -> Custom Commands -> Base -> Initialization

#!/bin/bash
RENAMEVAR=$(dmidecode -t Chassis | grep -i "Asset" | cut -c 12-)
HOSTNAME=$(hostname)
if [ "$RENAMEVAR" != "$HOSTNAME" ]
then
setparam network.dns.hostname $RENAMEVAR
killall postsetupd
write_rmsettings
fi

delete file "FileToDelete.txt"

System > Firmware Customization > Custom Commands > Desktop Commands -> Final Desktop Command

cd /path/to/file
if [ -f FileToDelete.txt ];then
rm FileToDelete.txt
fi

exchange driver for Ralink RT5572 with the ones from RT3572

Poor WiFi connectivity with IGEL Connectivity Foot 2 with Ralink RT5572 USB WIFI Adapter

System > Firmware Customization > Custom Commands > Base Commands -> Initial Command

grep -q 5572 /etc/udev/rules.d/20-rt2800usb.rules || sed -i '/ATTR{idVendor}/ a ATTR{idVendor}=="148f",ATTR{idProduct}=="5572",GOTO="rt3572_load"' /etc/udev/rules.d/20-rt2800usb.rules