#!/bin/sh
#
# This script is called by /etc/init.d/xdebian-edu-firstboot in
# debian-edu-install on the first boot after installation.

logger -t debian-edu-config "Executing run-at-firstboot script."

# fix for skolelinux bug #1355:
# make sure /opt/ltsp/*/etc/ssh/ssh_known_hosts is created
if [ -x /usr/sbin/ltsp-update-sshkeys ]; then
    ltsp-update-sshkeys
fi

# Do readahead profiling on the next boot, and not on the initial
# boot, to avoid incuding the test in the readahead profiling.
if [ -x /sbin/readahead-list ] ; then
    touch /etc/readahead/profile-once
fi
