1
Files
qnap-rc-scripts/init_acl.sh
2016-09-04 22:20:40 +03:00

8 lines
204 B
Bash
Executable File

#!/bin/sh
if [ `/sbin/getcfg System "Init ACL" -d 0` == 1 ] && [ `/sbin/getcfg System "ACL Enable" -d FALSE` == TRUE ]; then
/sbin/init_acl 1>/dev/null 2>/dev/null
/sbin/setcfg System "Init ACL" 0
fi