#! /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. #------------------------------------------------------------------------------ # do NOT source setup here - it will overwrite EDITOR # . /etc/config.d/setup # better source it in a subshell MENU=`(. /etc/config.d/setup; echo $MENU)` menu="$MENU" if [ "$menu" == "" -o ! -x "$menu" ] then menu="/var/install/bin/show-menu" fi export menu if ! echo $PATH | grep -q /usr/local/bin then PATH=$PATH:/usr/local/bin export PATH fi cd /tmp ### call menu $menu /var/install/menu/setup.menu