Tips and tricks
Jump to navigation
Jump to search
If the pre-defined FAI subroutines don't fit or you need additional subroutines, place a file called 'subroutines' in your '$FAI/hooks' and it will be sourced by any installation.
To enable class specific subroutines, create a hook 'defvar.DEFAULT.source' with following content:
#! /bin/bash for class in ${classes} do [ -r ${FAI}/hooks/subroutines.${class} ] && \ { echo "Reading subroutines.${class}." ; . ${FAI}/hooks/subroutines.${class} ; } done return 0