#!/bin/bash

. ${TOOLKIT}-functions.sh

# PATCHED FILES

file="rsyslog.conf"
dest="/etc/init/"
[ -f $DISTRIB_FULL_ID/$file ] && {
  	installfile $DISTRIB_FULL_ID/$file $dest root:root 444
}

file="umountfs"
dest="/etc/init.d/"
[ -f $DISTRIB_FULL_ID/$file ] && {
  	installfile $DISTRIB_FULL_ID/$file $dest root:root 555
}




# try to run system release dependend fixes
#
file=$(filepath run-fixes-$DISTRIB_FULL_ID -x) && {
	echo "  run $file ..."
	$file
}

# try to run generic fixes
#
file=$(filepath run-fixes-all-releases -x) && {
	echo "  run $file ..."
	$file
}

exit 0
