# Template file for 'slax' OSNAME="slax" PRETTY="Slax" LOGO="" ICON="slax.svg" ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/slax.png" CATEGORY="Lightweight" BASEDOF="Debian Slackware" DESCRIPTION="Compact, fast, and modern Linux operating system that combines sleek design with modular approach. With the ability to run directly from a USB flash drive without the need for installation, Slax is truly portable and fits easily in your pocket" HOMEPAGE="https://www.slax.org" CREDENTIALS="-" GPG="" RSS="" DW="" MAGNET="" CHAT="" RELEASES="latest" EDITIONS="debian slackware" QEMU_ARCH="amd64" releases_() { echo latest } editions_() { echo debian slackware } get_() { local HASH="" local ISO="" local URL="" case ${EDITION} in debian) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-12.x" ISO=$(web_pipe "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1);; slackware) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-15.x" ISO=$(web_pipe "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1);; esac HASH=$(web_pipe "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1) echo "${URL}/${ISO} ${HASH}" } config_() { echo "boot=\"legacy\"" >> "${CONF_FILE}" }