fix_mysql_startup.sh 224 B

1234567891011
  1. #!/bin/bash
  2. # Fix MySQL autostart for Ubuntu 14.04
  3. if [ -e "/etc/issue" ]; then
  4. release=$(head -n 1 /etc/issue | cut -f 2 -d ' ' )
  5. if [ "$release" = '14.04' ]; then
  6. update-rc.d mysql disable
  7. fi
  8. fi
  9. exit