moved old code to modules, cleanup
This commit is contained in:
22
modules/install_profile.sh
Normal file
22
modules/install_profile.sh
Normal 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
|
||||
Reference in New Issue
Block a user