Initial Backupper Unraid plugin
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
CONFIG=/boot/config/plugins/backupper
|
||||
mkdir -p "$CONFIG" /run/backupper /var/lib/backupper
|
||||
chmod 0700 "$CONFIG"
|
||||
chmod 0750 /run/backupper /var/lib/backupper
|
||||
|
||||
if [ -x /etc/rc.d/rc.backupper ]; then
|
||||
/etc/rc.d/rc.backupper restart || true
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user