#!/bin/sh

# This script is run only during a boot in which a patch has been unpacked.
# All it does is any additional setup required because the old rcS is being run.
# Do not put anything in here that is needed for subsequent/normal boots.

# Rename files that were busy during tar extraction

for d in /lib /bin /etc/init.d ; do
    cd $d
    for x in *.patch; do
		if [ -f $x ]; then
			f=`echo $x | sed -e 's/.patch//'`
			mvaside $x $f
		fi
    done
done
