1 --- /usr/lib/fai/subroutines.orig 2007-09-21 10:04:05.000000000 +0200
2 +++ /usr/lib/fai/subroutines 2007-09-21 10:34:40.000000000 +0200
11 echo Performing FAI system update. All data may be overwritten!
16 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
22 + FAI_ROOT=$(cd $FAI_ROOT;pwd)
23 + echo "Updating directory $FAI_ROOT"
29 + unset LOGUSER # so logfile are not saved to remote
32 + if [ -f $stamp ]; then
33 + echo "Error while executing commands in subshell."
34 + echo "$stamp was not removed."
35 + sendmon "TASKERROR install 21"
36 + die "Please look at the log files in $LOGDIR for errors."
39 +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
42 local stamp=/var/run/fai/fai_softupdate_is_running