#!/bin/sh

#Copyright (c) 2022 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.

if [ "$ACTION" = "add" ]; then
	if [ "$SUBSYSTEM" = "smcinvoke" ]; then
		if [ "$DEVICENAME" = "smcinvoke" ]; then
			chown system:system /dev/$DEVICENAME
			chmod 0666 /dev/$DEVICENAME
		fi
	fi
fi
