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

on boot
    #Create PORT-BRIDGE daemon socket area
    mkdir /dev/socket/port-bridge 0750 radio radio

# msm specific files that need to be created on /data
on post-fs-data
    #Create port-bridge log dir
    mkdir /data/vendor/port_bridge 0770 radio radio
    chmod 0770 /data/vendor/port_bridge

service vendor.port-bridge /system/vendor/bin/port-bridge
    class main
    user radio
    group radio system inet
    oneshot
