#! /bin/sh #---------------------------------------------------------------------------- # system-base-edit-environment - edit base environment # # Copyright (c) 2003-2004 Frank Meyer # # Creation: 19.07.2003 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. #---------------------------------------------------------------------------- # include eislib . /var/install/include/eislib clrhome mecho -info "Edit Environment" mecho configfile='/etc/config.d/environment' if /var/install/bin/edit $configfile then cp /etc/config.d/environment /var/run # copy environment chown root.root /var/run/environment chmod 664 /var/run/environment mecho mecho mecho mecho "To take changes effect please login again." fi anykey