X-Git-Url: http://andersk.mit.edu/gitweb/sql.git/blobdiff_plain/27a83527716127f7ed6ae592cd53bf1f9711a919..562fda3a64d1be930e5bed51464ea30c525bc566:/etc/rc.local diff --git a/etc/rc.local b/etc/rc.local new file mode 100755 index 0000000..dda6cd8 --- /dev/null +++ b/etc/rc.local @@ -0,0 +1,12 @@ +#!/bin/sh +# +# This script will be executed *after* all the other init scripts. +# You can put your own initialization stuff in here if you don't +# want to do the full Sys V style init stuff. + +touch /var/lock/subsys/local + +if [[ -s /srv/mysql/master.info ]]; then + /sbin/ifdown eth0:0 + /sbin/ifdown eth1:0 +fi