moved old code to modules, cleanup

This commit is contained in:
fatalerrors
2021-06-18 12:02:01 +02:00
parent 8bb69f931d
commit 1a964640d9
8 changed files with 108 additions and 51 deletions

View File

@@ -0,0 +1,22 @@
# Profile
export VER_install_profile="0.0.1"
install_profile()
{
installfile ansi_shadow.flf /usr/share/figlet/ansi_shadow.flf
for usr in /root /home/*; do
backupdist $usr/{,.}profile $usr/.bashrc
installfile {{.,}profile,.bashrc} $usr/
done
backupdist /etc/motd
installfile motd /etc/motd
}
precheck_install_profile()
{
:
}
export -f install_profile
export -f precheck_install_profile