diff --git a/config/functions b/config/functions index ce78e0943f..5865059572 100644 --- a/config/functions +++ b/config/functions @@ -384,7 +384,6 @@ show_config() { config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT" config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT" config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT" - config_message="$config_message\n - LCD drivers:\t\t\t\t $LCD_DRIVER" for config_driver in $ADDITIONAL_DRIVERS; do config_message="$config_message\n - Include driver:\t\t\t $config_driver" diff --git a/distributions/LibreELEC/options b/distributions/LibreELEC/options index 44f3b9971d..eb1947c194 100644 --- a/distributions/LibreELEC/options +++ b/distributions/LibreELEC/options @@ -153,19 +153,6 @@ # build and install iSCSI support - iscsistart (yes / no) ISCSI_SUPPORT="yes" -# LCD driver to Use - Possible drivers are ( Comma seperated: -# bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,dm140, -# ea65,EyeboxOne,g15,glcd,glcdlib,glk,hd44780,i2500vfd, -# icp_a106,imon,imonlcd,IOWarrior,irman,irtrans, -# joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a, -# ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD, -# picolcd,pyramid,sed1330,sed1520,serialPOS, -# serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,vlsys_m428 -# 'all' compiles all drivers; -# 'all,!xxx,!yyy' de-selects previously selected drivers -# "none" for disable LCD support - LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD" - # Support for partitioning and formating disks in initramfs (yes / no) # This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage INITRAMFS_PARTED_SUPPORT="no" diff --git a/packages/sysutils/serdisplib/package.mk b/packages/addons/addon-depends/serdisplib/package.mk similarity index 100% rename from packages/sysutils/serdisplib/package.mk rename to packages/addons/addon-depends/serdisplib/package.mk diff --git a/packages/sysutils/serdisplib/patches/serdisplib-disable_SDL_crosscompile.patch b/packages/addons/addon-depends/serdisplib/patches/serdisplib-disable_SDL_crosscompile.patch similarity index 100% rename from packages/sysutils/serdisplib/patches/serdisplib-disable_SDL_crosscompile.patch rename to packages/addons/addon-depends/serdisplib/patches/serdisplib-disable_SDL_crosscompile.patch diff --git a/packages/addons/service/lcdd/changelog.txt b/packages/addons/service/lcdd/changelog.txt new file mode 100644 index 0000000000..ffbebe8438 --- /dev/null +++ b/packages/addons/service/lcdd/changelog.txt @@ -0,0 +1,2 @@ +100 +- Initial addon diff --git a/packages/addons/service/lcdd/icon/icon.png b/packages/addons/service/lcdd/icon/icon.png new file mode 100644 index 0000000000..5c77d84763 Binary files /dev/null and b/packages/addons/service/lcdd/icon/icon.png differ diff --git a/packages/addons/service/lcdd/package.mk b/packages/addons/service/lcdd/package.mk new file mode 100644 index 0000000000..83e934ac6c --- /dev/null +++ b/packages/addons/service/lcdd/package.mk @@ -0,0 +1,80 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="lcdd" +PKG_VERSION="0.5.7-cvs20140217" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://lcdproc.org/" +PKG_URL="$DISTRO_SRC/lcdproc-$PKG_VERSION.tar.xz" +PKG_SOURCE_DIR="lcdproc-$PKG_VERSION" +PKG_DEPENDS_TARGET="toolchain freetype libftdi1 libhid libusb netbsd-curses serdisplib" +PKG_SECTION="service" +PKG_SHORTDESC="LCDproc: Software to display system information from your Linux/*BSD box on a LCD" +PKG_LONGDESC="LCDproc ($PKG_VERSION) is a piece of software that displays real-time system information from your Linux/*BSD box on a LCD. The server supports several serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI, Cwlinux(.com) and PIC-an-LCD; and some devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and SED1330. Various clients are available that display things like CPU load, system load, memory usage, uptime, and a lot more." +PKG_AUTORECONF="yes" + +PKG_IS_ADDON="yes" +PKG_ADDON_NAME="LCDproc" +PKG_ADDON_TYPE="xbmc.service" + +PKG_CONFIGURE_OPTS_TARGET="--with-ft-prefix=$SYSROOT_PREFIX/usr \ + --enable-libusb \ + --enable-libftdi \ + --disable-libX11 \ + --enable-libhid \ + --disable-libpng \ + --enable-drivers=all \ + --enable-seamless-hbars" + +pre_make_target() { + # dont build parallel + MAKEFLAGS=-j1 +} + +addon() { + drivers="none|$(cat $ROOT/$PKG_BUILD/.$TARGET_NAME/config.log | sed -n "s|^DRIVERS=' \(.*\)'|\1|p" | sed "s|.so||g" | tr ' ' '|')" + + mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config + + cp -PR $PKG_DIR/resources $ADDON_BUILD/$PKG_ADDON_ID + + cp -PR $PKG_BUILD/.install_pkg/etc/LCDd.conf $ADDON_BUILD/$PKG_ADDON_ID/config/ + cp -PR $PKG_BUILD/.install_pkg/usr/lib $ADDON_BUILD/$PKG_ADDON_ID/lib/ + cp -PR $PKG_BUILD/.install_pkg/usr/sbin $ADDON_BUILD/$PKG_ADDON_ID/bin/ + + cp -L $(get_build_dir serdisplib)/.install_pkg/usr/lib/libserdisp.so.1 $ADDON_BUILD/$PKG_ADDON_ID/lib/ + + sed -e "s|^DriverPath=.*$|DriverPath=/storage/.kodi/addons/service.lcdd/lib/lcdproc/|" \ + -e "s|^#Foreground=.*$|Foreground=no|" \ + -e "s|^#ServerScreen=.*$|ServerScreen=blank|" \ + -e "s|^#Backlight=.*$|Backlight=open|" \ + -e "s|^#Heartbeat=.*$|Heartbeat=open|" \ + -e "s|^#TitleSpeed=.*$|TitleSpeed=4|" \ + -e "s|^#Hello=\" Welcome to\"|Hello=\"Welcome to\"|" \ + -e "s|^#Hello=\" LCDproc!\"|Hello=\"$DISTRONAME\"|" \ + -e "s|^#GoodBye=\"Thanks for using\"|GoodBye=\"Thanks for using\"|" \ + -e "s|^#GoodBye=\" LCDproc!\"|GoodBye=\"$DISTRONAME\"|" \ + -e "s|^#normal_font=.*$|normal_font=/usr/share/fonts/liberation/LiberationMono-Bold.ttf|" \ + -i $ADDON_BUILD/$PKG_ADDON_ID/config/LCDd.conf + + sed -e "s/@DRIVERS@/$drivers/" \ + -i $ADDON_BUILD/$PKG_ADDON_ID/resources/settings.xml + +} diff --git a/packages/sysutils/lcdproc/patches/lcdproc-0.5.6-dm140_henlar_v0.2.patch b/packages/addons/service/lcdd/patches/lcdd-0.5.6-dm140_henlar_v0.2.patch similarity index 100% rename from packages/sysutils/lcdproc/patches/lcdproc-0.5.6-dm140_henlar_v0.2.patch rename to packages/addons/service/lcdd/patches/lcdd-0.5.6-dm140_henlar_v0.2.patch diff --git a/packages/sysutils/lcdproc/patches/lcdproc-0.5.6-libftdi1.patch b/packages/addons/service/lcdd/patches/lcdd-0.5.6-libftdi1.patch similarity index 100% rename from packages/sysutils/lcdproc/patches/lcdproc-0.5.6-libftdi1.patch rename to packages/addons/service/lcdd/patches/lcdd-0.5.6-libftdi1.patch diff --git a/packages/sysutils/lcdproc/patches/lcdproc-fujitsu_siemens_scaleo_e.patch b/packages/addons/service/lcdd/patches/lcdd-fujitsu_siemens_scaleo_e.patch similarity index 100% rename from packages/sysutils/lcdproc/patches/lcdproc-fujitsu_siemens_scaleo_e.patch rename to packages/addons/service/lcdd/patches/lcdd-fujitsu_siemens_scaleo_e.patch diff --git a/packages/addons/service/lcdd/resources/settings.xml b/packages/addons/service/lcdd/resources/settings.xml new file mode 100644 index 0000000000..f9c9ec0e32 --- /dev/null +++ b/packages/addons/service/lcdd/resources/settings.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/packages/addons/service/lcdd/source/bin/lcdd.start b/packages/addons/service/lcdd/source/bin/lcdd.start new file mode 100644 index 0000000000..8e93d8fc81 --- /dev/null +++ b/packages/addons/service/lcdd/source/bin/lcdd.start @@ -0,0 +1,37 @@ +#!/bin/sh +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +. /etc/profile +oe_setup_addon service.lcdd + +if [ -z "$LCD_DRIVER" -o "$LCD_DRIVER" == "none" ]; then + exit 0 +fi + +LCDCONF=$ADDON_HOME/LCDd.conf + +if [ ! -f $LCDCONF ]; then + if [ -f /storage/.cache/LCDd.conf ]; then + mv /storage/.cache/LCDd.conf $LCDCONF + else + cp $ADDON_DIR/config/LCDd.conf $LCDCONF + fi +fi + +LCDd -f -c $LCDCONF -d $LCD_DRIVER diff --git a/packages/addons/service/lcdd/source/default.py b/packages/addons/service/lcdd/source/default.py new file mode 100644 index 0000000000..6c6b84a8a5 --- /dev/null +++ b/packages/addons/service/lcdd/source/default.py @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +import subprocess +import xbmc +import xbmcaddon + + +class Monitor(xbmc.Monitor): + + def __init__(self, *args, **kwargs): + xbmc.Monitor.__init__(self) + self.id = xbmcaddon.Addon().getAddonInfo('id') + + def onSettingsChanged(self): + subprocess.call(['systemctl', 'restart', self.id]) + + +if __name__ == '__main__': + Monitor().waitForAbort() diff --git a/packages/addons/service/lcdd/source/resources/language/English/strings.po b/packages/addons/service/lcdd/source/resources/language/English/strings.po new file mode 100644 index 0000000000..8e2ffb4582 --- /dev/null +++ b/packages/addons/service/lcdd/source/resources/language/English/strings.po @@ -0,0 +1,11 @@ +# Kodi Media Center language file +msgid "" +msgstr "" + +msgctxt "#30000" +msgid "Configuration" +msgstr "" + +msgctxt "#30001" +msgid "LCD driver" +msgstr "" diff --git a/packages/addons/service/lcdd/source/system.d/service.lcdd.service b/packages/addons/service/lcdd/source/system.d/service.lcdd.service new file mode 100644 index 0000000000..6453fb6303 --- /dev/null +++ b/packages/addons/service/lcdd/source/system.d/service.lcdd.service @@ -0,0 +1,14 @@ +[Unit] +Description=LCDProc +After=multi-user.target + +[Service] +ExecStart=/bin/sh /storage/.kodi/addons/service.lcdd/bin/lcdd.start +TimeoutStopSec=1s +Restart=on-failure +RestartSec=5 +StartLimitInterval=30 +StartLimitBurst=5 + +[Install] +WantedBy=multi-user.target diff --git a/packages/sysutils/lcdproc/package.mk b/packages/sysutils/lcdproc/package.mk deleted file mode 100644 index 6c494e8467..0000000000 --- a/packages/sysutils/lcdproc/package.mk +++ /dev/null @@ -1,76 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -PKG_NAME="lcdproc" -PKG_VERSION="0.5.7-cvs20140217" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="GPL" -PKG_SITE="http://lcdproc.org/" -# PKG_URL="$SOURCEFORGE_SRC/lcdproc/lcdproc/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS_TARGET="toolchain libusb libhid libftdi1" -PKG_SECTION="system" -PKG_SHORTDESC="lcdproc: Software to display system information from your Linux/*BSD box on a LCD" -PKG_LONGDESC="LCDproc is a piece of software that displays real-time system information from your Linux/*BSD box on a LCD. The server supports several serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI, Cwlinux(.com) and PIC-an-LCD; and some devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and SED1330. Various clients are available that display things like CPU load, system load, memory usage, uptime, and a lot more." - -PKG_IS_ADDON="no" -PKG_AUTORECONF="yes" - -IFS=$',' -for i in $LCD_DRIVER; do - case $i in - glcd) PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET freetype serdisplib" - ;; - *) - esac -done -unset IFS - -PKG_CONFIGURE_OPTS_TARGET="--with-ft-prefix=$SYSROOT_PREFIX/usr --enable-libusb --enable-drivers=$LCD_DRIVER,!curses,!svga --enable-seamless-hbars" - -pre_make_target() { - # dont build parallel - MAKEFLAGS=-j1 -} - -post_makeinstall_target() { - rm -rf $INSTALL/etc/lcd*.conf - rm -rf $INSTALL/usr/bin - - sed -e "s|^DriverPath=.*$|DriverPath=/usr/lib/lcdproc/|" \ - -e "s|^#Foreground=.*$|Foreground=no|" \ - -e "s|^#ServerScreen=.*$|ServerScreen=blank|" \ - -e "s|^#Backlight=.*$|Backlight=open|" \ - -e "s|^#Heartbeat=.*$|Heartbeat=open|" \ - -e "s|^#TitleSpeed=.*$|TitleSpeed=4|" \ - -e "s|^#Hello=\" Welcome to\"|Hello=\"Welcome to\"|" \ - -e "s|^#Hello=\" LCDproc!\"|Hello=\"$DISTRONAME\"|" \ - -e "s|^#GoodBye=\"Thanks for using\"|GoodBye=\"Thanks for using\"|" \ - -e "s|^#GoodBye=\" LCDproc!\"|GoodBye=\"$DISTRONAME\"|" \ - -e "s|^#normal_font=.*$|normal_font=/usr/share/fonts/liberation/LiberationMono-Bold.ttf|" \ - -i $INSTALL/etc/LCDd.conf - - mkdir -p $INSTALL/usr/lib/libreelec - cp $PKG_DIR/scripts/lcd-wrapper $INSTALL/usr/lib/libreelec - -} - -post_install() { - enable_service lcdd.service -} diff --git a/packages/sysutils/lcdproc/scripts/lcd-wrapper b/packages/sysutils/lcdproc/scripts/lcd-wrapper deleted file mode 100755 index c6b2e7102a..0000000000 --- a/packages/sysutils/lcdproc/scripts/lcd-wrapper +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -if [ -f /storage/.cache/services/lcdd.conf ]; then - . /storage/.cache/services/lcdd.conf - - if [ "$LCD_DRIVER" == "none" ]; then - exit 0 - fi - - LCDCONF=/etc/LCDd.conf - if [ -f /storage/.config/LCDd.conf ]; then - LCDCONF=/storage/.config/LCDd.conf - fi - exec /usr/sbin/LCDd -f -c $LCDCONF -d $LCD_DRIVER -fi diff --git a/packages/sysutils/lcdproc/system.d/lcdd.service b/packages/sysutils/lcdproc/system.d/lcdd.service deleted file mode 100644 index 83dadf6596..0000000000 --- a/packages/sysutils/lcdproc/system.d/lcdd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=LCDProc -ConditionPathExists=|/storage/.cache/services/lcdd.conf -After=multi-user.target - -[Service] -EnvironmentFile=-/storage/.cache/services/lcdd.conf -ExecStart=/bin/sh -c 'exec /usr/lib/libreelec/lcd-wrapper' -TimeoutStopSec=1s -Restart=always -RestartSec=5 -StartLimitInterval=30 -StartLimitBurst=5 - -[Install] -WantedBy=multi-user.target diff --git a/projects/Odroid_C2/options b/projects/Odroid_C2/options index f2a592e635..c83839bc1b 100644 --- a/projects/Odroid_C2/options +++ b/projects/Odroid_C2/options @@ -109,9 +109,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # Amlogic IR remote support (yes / no) AMREMOTE_SUPPORT="no" diff --git a/projects/RPi/options b/projects/RPi/options index 52b728533e..266f8d656d 100644 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -117,9 +117,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # build with swap support (yes / no) SWAP_SUPPORT="yes" diff --git a/projects/RPi2/options b/projects/RPi2/options index 72276a0faf..42220046c7 100644 --- a/projects/RPi2/options +++ b/projects/RPi2/options @@ -117,9 +117,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # build with swap support (yes / no) SWAP_SUPPORT="yes" diff --git a/projects/WeTek_Core/options b/projects/WeTek_Core/options index 915537a982..23e04bde47 100644 --- a/projects/WeTek_Core/options +++ b/projects/WeTek_Core/options @@ -127,9 +127,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # Amlogic IR remote support (yes / no) AMREMOTE_SUPPORT="yes" diff --git a/projects/WeTek_Hub/options b/projects/WeTek_Hub/options index a52fb572ab..048c86562b 100644 --- a/projects/WeTek_Hub/options +++ b/projects/WeTek_Hub/options @@ -115,9 +115,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # Amlogic IR remote support (yes / no) AMREMOTE_SUPPORT="yes" diff --git a/projects/WeTek_Play/options b/projects/WeTek_Play/options index 6ab0e9519f..63f11e4269 100644 --- a/projects/WeTek_Play/options +++ b/projects/WeTek_Play/options @@ -121,9 +121,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # Amlogic IR remote support (yes / no) AMREMOTE_SUPPORT="yes" diff --git a/projects/WeTek_Play_2/options b/projects/WeTek_Play_2/options index 81e9790ddc..abf1356f48 100644 --- a/projects/WeTek_Play_2/options +++ b/projects/WeTek_Play_2/options @@ -115,9 +115,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # Amlogic IR remote support (yes / no) AMREMOTE_SUPPORT="yes" diff --git a/projects/imx6/options b/projects/imx6/options index 35b06c4316..487e4ea822 100644 --- a/projects/imx6/options +++ b/projects/imx6/options @@ -136,9 +136,6 @@ # build and install ATV IR remote support (yes / no) ATVCLIENT_SUPPORT="no" - # "none" for disable LCD support - LCD_DRIVER="none" - # build with swap support (yes / no) SWAP_SUPPORT="no" diff --git a/scripts/image b/scripts/image index 8aead342c9..a34e371a0a 100755 --- a/scripts/image +++ b/scripts/image @@ -178,9 +178,6 @@ $SCRIPTS/install network # Remote support [ "$REMOTE_SUPPORT" = "yes" ] && $SCRIPTS/install remote -# LCD support -[ ! "$LCD_DRIVER" = "none" ] && $SCRIPTS/install lcdproc - # Virtual image creation support [ "$PROJECT" = Virtual ] && $SCRIPTS/install virtual