mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
initial commit
This commit is contained in:
Executable
+11
@@ -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
@@ -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
|
||||
Reference in New Issue
Block a user