#! /bin/sh #------------------------------------------------------------------------------ # /sbin/setup - setup start script # # Copyright (c) 2001-2005 Frank Meyer # # Creation: 04.11.2001 fm # Last update: $Id$ # # This program 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. #------------------------------------------------------------------------------ . /etc/config.d/setup if ! echo $PATH | grep -q /usr/local/bin then PATH=$PATH:/usr/local/bin export PATH fi cd /tmp menu="$MENU" if [ "$MENU" == "" ] then menu="/var/install/bin/show-menu" fi if [ -x "$menu" ] then $menu /var/install/menu/setup.menu else /var/install/bin/show-menu /var/install/menu/setup.menu fi