mirror of
https://github.com/unraid/webgui.git
synced 2026-01-02 07:30:06 -06:00
remove deprecated check
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
# operation continues on to the next file.
|
||||
|
||||
PIDFILE="/var/run/mover.pid"
|
||||
CFGFILE="/boot/config/share.cfg"
|
||||
DEBUGGING=""
|
||||
|
||||
move() {
|
||||
@@ -38,14 +37,6 @@ start() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f $CFGFILE ]; then
|
||||
# Only start if shfs includes pools
|
||||
if ! grep -qs 'shareCacheEnabled="yes"' $CFGFILE ; then
|
||||
echo "mover: cache not enabled"
|
||||
exit 2
|
||||
fi
|
||||
fi
|
||||
|
||||
echo $$ >/var/run/mover.pid
|
||||
echo "mover: started"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user