#!/bin/bash
#------------------------------------------------------------------------------
# platform_setup
#
# Copyright (c) 2020 by cisco Systems, Inc.
# All rights reserved
#------------------------------------------------------------------------------

# Source both RP and LC platform setup
# Any overlapping actions should be idempotent
source /pkg/etc/platform_setup_rp

mkdir /mnt/pdtmpfs
mount -t tmpfs -o size=40M tmpfs /mnt/pdtmpfs

# Create tam device if one does not exist
if [ ! -f "/dev/tam" ]; then
    /bin/mknod /dev/tam -m666 c 777 0
fi
 
