remove deprecated check

This commit is contained in:
Tom Mortensen
2024-08-29 02:02:55 -07:00
parent 9d4ca6a2c9
commit 73ea1bb7b3

View File

@@ -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"