Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement