description "Check if / ist nfs" author "Harald Kueller " version 1.0 emits varmake startudev start on startup console output script echo "Starting checkvar script" source /etc/init/functions mount -o remount,rw / rm /etc/mtab touch /etc/mtab mount -o remount,ro / mount -t proc none /proc status_message "/proc mounted" if mount|grep /dev/root|grep nfs &>/dev/null; then /sbin/initctl emit varmake status_message "emitting varmake" else umount /proc mount -t tmpfs none /var/lock /sbin/initctl emit startudev status_message "emitting startudev" fi end script