#!/bin/sh
set -e

sysvinitdir=/etc/init.d

init_scripts="
hostname.sh
mountkernfs.sh
udev
mountdevsubfs.sh
hwclock.sh
checkroot.sh
cryptdisks-early
checkroot-bootclean.sh
kmod
cryptdisks
checkfs.sh
mountall.sh
mount-configfs
mountall-bootclean.sh
brightness
procps
urandom
networking
mountnfs.sh
mountnfs-bootclean.sh
bootmisc.sh
"
sync_svdir () {
echo "#### Modified for experimental aio"
 ##	#remove sysvinit scripts from /etc/init.d
 ##	for service in $init_scripts; do
 ##        rm -f $sysvinitdir/$service
 ##	done
echo "#### End of modification"
}

case "$1" in
    configure)
	sync_svdir
    ;;
    triggered)
	sync_svdir
    ;;
esac



exit 0
