mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
Fix MySQL autostart issue on Ubuntu 14.04
This commit is contained in:
parent
667ae61355
commit
62c05fb08f
3 changed files with 19 additions and 1 deletions
11
upd/fix_mysql_startup.sh
Executable file
11
upd/fix_mysql_startup.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Fix MySQL autostart for Ubuntu 14.04
|
||||
if [ -e "/etc/issue" ]; then
|
||||
release=$(head -n 1 /etc/issue | cut -f 2 -d ' ' )
|
||||
if [ "$release" = '14.04' ]; then
|
||||
update-rc.d mysql disable
|
||||
fi
|
||||
fi
|
||||
|
||||
exit
|
Loading…
Add table
Add a link
Reference in a new issue