command=`basename $file`
fullfile=`which $command 2> /dev/null`
if [ x$fullfile != x ] ; then
- echo "updating $command in roottree with $fullfile"
+# echo "updating $command in roottree with $fullfile"
cp -fpd $fullfile $file
if [ $? != 0 ] ; then
echo "Update failed."
cd roottree/sbin
ln -sf halt reboot
+# Eliminate recursive link
+rm -f sbin
cd $TOPDIR
# Copy all needed shared libraries