Searched refs:proc_ctrl (Results 1 – 1 of 1) sorted by relevance
66 local proc_ctrl=${PROC_DIR}/$proc_file67 if [[ ! -e "$proc_ctrl" ]]; then68 err 3 "proc file:$proc_ctrl does not exists (dev added to thread?)"70 if [[ ! -w "$proc_ctrl" ]]; then71 err 4 "proc file:$proc_ctrl not writable, not root?!"76 echo "cmd: $@ > $proc_ctrl"79 echo "$@" > "$proc_ctrl" || status=$?82 result=$(grep "Result: OK:" $proc_ctrl) || true84 grep "Result:" $proc_ctrl >&288 err 5 "Write error($status) occurred cmd: \"$@ > $proc_ctrl\""
Completed in 3 milliseconds