Created
August 11, 2019 14:24
-
-
Save disafronov/7bea7c75de2852d07c70a080756c72fe to your computer and use it in GitHub Desktop.
Revisions
-
dmitriysafronov created this gist
Aug 11, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # /etc/profile.d/00-bitrix-menu-override.sh if [[ $- == *i* ]] && [[ ${UID} -eq 0 ]]; then # Disable bitrix menu autostart mv ~/menu.sh ~/.menu.sh 2> /dev/null sed -i -e 's/^~\/menu.sh/\#~\/menu.sh/g' ~/.bash_profile # Manual menu banner echo "BitrixVM Customized: for bitrix menu run [~/.menu.sh]" fi