diff --git a/dapostinstall.sh b/dapostinstall.sh index 9cd1740..eaee8b2 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -4,7 +4,7 @@ DAPOSTINSTALL_DIR=/opt/dapostinstall DADIR=/usr/local/directadmin CBDIR=/usr/local/directadmin/custombuild DAPOSTINSTALL_LOG=/var/log/dapostinstall.log -exec > >(tee -ia "$log_file") 2>&1 +exec >(tee -ia "$log_file") 2>&1 HTLINK="https://ht.zenadmin.pl" cd $DAPOSTINSTALL_DIR wget $HTLINK//daupdate.sh -O /opt/daupdate.sh @@ -556,8 +556,14 @@ $DADIR/plugins/imapsync/scripts/install.sh echo 'imapsync=type=checkbox&string=IMAPsync migrations (plugin)&desc=Allow access to imapsync migrations&default=yes' >> /usr/local/directadmin/data/admin/custom_package_items.conf echo 'imapsync=ON' >> /usr/local/directadmin/data/users/admin/user.conf cp lang_pl.php $DADIR/plugins/imapsync/lang -cd $DAPOSTINSTALL_DIR +echo "Dodanie kolorowego prompta hitme" +echo "PS1='\[\e[0;1;38;5;46m\]\u\[\e[0m\]@\[\e[0;1;38;5;214m\]\h\[\e[0m\][\[\e[0;1;97m\]\W\[\e[0m\]]\[\e[0;38;5;46m\]$ \[\e[0m\]'" | sudo tee -a /etc/profile + +echo "dodanie kolorowego prompta dla roota" +echo "PS1='\[\e[0;1;91m\]\u\[\e[0m\]@\[\e[0;1;38;5;214m\]\h\[\e[0m\][\[\e[0;1;97m\]\W\[\e[0m\]]\[\e[0;1m\]# \[\e[0m\]'" | sudo tee -a /root/.bash_profile + +cd $DAPOSTINSTALL_DIR sh da_cli.sh disablenamed sh da_cli.sh disablemultiserverpage sh da_cli.sh disablecreateadmin