]> andersk Git - sql.git/blobdiff - etc/rc.local
more old code
[sql.git] / etc / rc.local
diff --git a/etc/rc.local b/etc/rc.local
new file mode 100755 (executable)
index 0000000..dda6cd8
--- /dev/null
@@ -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
This page took 0.286499 seconds and 4 git commands to generate.