initial commit

This commit is contained in:
Eric Schultz
2015-10-24 10:17:28 -07:00
commit 30ca111094
536 changed files with 51775 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Only start if array has started in Normal operation mode
if grep -q 'fsState="Started"' /var/local/emhttp/var.ini && grep -q 'startMode="Normal"' /var/local/emhttp/var.ini; then
# Start Docker.io
if [ -x /etc/rc.d/rc.docker ]; then
echo "Starting Docker..."
/etc/rc.d/rc.docker start | logger
/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate.php | logger
fi
fi
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Shutdown Docker.io
if [ -x /etc/rc.d/rc.docker ]; then
echo "Stopping Docker..."
/etc/rc.d/rc.docker stop | logger
fi