Wed Jan 25, 2017 2:29 am
Wed Jan 25, 2017 4:53 am
Wed Jan 25, 2017 6:22 pm
DISTRIB_ID=Refracta
DISTRIB_DESCRIPTION="Refracted Devuan GNU/Linux 1.0"
DISTRIB_RELEASE=8.0
DISTRIB_CODENAME=jessie
set_distro_name () {
if [[ $iso_dir = "/usr/lib/refractasnapshot/iso" ]] && [[ $boot_menu = "live.cfg" ]] ; then
DISTRO=$(lsb_release -i -s 2>/dev/null)
if $(grep -q Refracta /etc/issue) ; then
DISTRO="Refracta"
fi
DISTRO=$($DIALOG --entry --title=$"Linux Distribution" ${CENTER} --text=$"This is the distribution name that will appear in the boot menu
for the live image. If it's blank, the menu entries will just say
\"GNU/Linux (kernel-version)\" " \
--entry-text="$DISTRO" --width=500 --${BUTTON0}="OK"${BUTTON0NUM})
if [[ -z "$DISTRO" ]] ; then
DISTRO="GNU/Linux `uname -r`"
fi
fi
}
Wed Jan 25, 2017 10:08 pm