#! /bin/sh

# boot: System initialization script

if [ "$1" != "start" ]; then exit 0; fi

. init-script-lib
	
need soft-settings
need boot-terminal

need --not-crucial clock
need --not-crucial filesystems 
need --not-crucial swaps 
need --not-crucial soft-settings
need --not-crucial modules
need --not-crucial network
need --not-crucial hooks

fatal need filesystems ldconfig terminals

init_time=`ps --format start h 1`
start=`date --date "$init_time" +%s`
end=`date +%s`
time=$(($end-$start))

say finished after $time seconds
chvt 2
