fai-do-scripts(1)
π fai-do-scripts β the manual page, but make it cute π
okay so bestie, welcome to fai-do-scripts(1) β section 1 of the manual, the one that lives in FAI 6 land. this is the page that tells you how FAI calls your config scripts. let's get into it, no cap. β¨
π NAME π
fai-do-scripts β call configuration scripts
like, that's the whole job. it calls scripts. it does what it says on the tin, periodt.
πΈ SYNOPSIS πΈ
fai-do-scripts [OPTION] DIRECTORY
π¦ DESCRIPTION π¦
okay so first thing, bestie β this command is only called internally by FAI and not directly by the user. so if you're out here typing it yourself, that's very main character of you, but it's not the intended vibe. π
fai-do-scripts executes all scripts in DIRECTORY which are also a defined class. and here's the twist β if the name of the class is a directory, then all scripts that match <CLASSNAME>/^[0-9][0-9].* (so like, scripts starting with two digits) in this directory get executed. iykyk. π
and yes, you can absolutely have several scripts of different types (shell, python, ruby, cfengine, ...) be executed for one class. it's giving variety. it's giving range. π
β¨ OPTIONS β¨
-hβ show help, version and a summary of all the options. the little "hey what does this do" button. π«Ά-LDIR β write log files to DIR.-nβ show the type of scripts that would be executed, but do not execute them. a little sneak peek, a little window shopping, no commitment. ποΈ
π EXAMPLES π
in FAI, fai-do-scripts is used like this:
# fai-do-scripts /fai/scripts
look at her go. β
π NOTES π
the output of the scripts is also written to $LOGDIR/scripts.log. and the file $LOGDIR/status.log lists all scripts executed and whether they finished with success or failure. so you always know what happened, bestie β receipts kept, no mystery. π§Ύ
okay important: if the variable$FAI_USE_OLD_SCRIPT_LOGSis set to1, the old style log file names are used (different name for every type of script). heads up though β this may be removed in the future. so don't get too attached. π
π SEE ALSO π
this program is part of FAI (Fully Automatic Installation). the FAI homepage is http:///fai-project.org. go say hi. πΈ
π AUTHOR π
written by Thomas Lange <lange@cs.uni-koeln.de>
and that's the whole page, bestie!! this iconic little manual is from FAI 6, dated October 2022, and it's filed under fai-do-scripts(1). slay, ate, no crumbs. πβ¨π
π¦ where this page comes from
- debian bookworm: fai-client 6.0.3+deb12u1 Β· GPL-2.0-or-later
- debian trixie: fai-client 6.4.3 Β· GPL-2.0-or-later
- ubuntu noble: fai-client 6.0.5ubuntu1 Β· GPL-2.0-or-later
- ubuntu resolute: fai-client 6.4.3ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fai-client 6.6ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms