6 pidfile
="/run/cachefilesd.pid"
9 if [ -r "${pid_file}" ]; then
12 pgrep
-f /sbin
/cachefilesd
20 stat_busy
"Starting cachefilesd"
21 modprobe cachefiles
2>/dev
/null
22 [[ -z "$PID" ]] && /sbin
/cachefilesd
-p "$pidfile"
26 add_daemon cachefilesd
31 stat_busy
"Stopping cachefilesd"
32 [[ ! -z "$PID" ]] && kill $PID &> /dev
/null
47 echo "usage: $0 {start|stop|restart}"