#!/bin/bash

. /usr/bin/fly-kiosk-config-dir.sh

if [ ! -z $FLY_KIOSK_CONFIG_DIR ]; then

if [ -f ~/.bashrc ]; then
chmod 0644 ~/.bashrc
chown fly-dm:fly-dm ~/.bashrc
fi
if [ -f ~/.bash_profile ]; then
chmod 0644 ~/.bash_profile
chown fly-dm:fly-dm ~/.bash_profile
fi
if [ -f ~/.profile ]; then
chmod 0644 ~/.profile
chown fly-dm:fly-dm ~/.profile
fi
if [ -f ~/.bash_login ]; then
chmod 0644 ~/.bash_login
chown fly-dm:fly-dm ~/.bash_login
fi
if [ -f ~/.bash_logout ]; then
chmod 0644 ~/.bash_logout
chown fly-dm:fly-dm ~/.bash_logout
fi

fi
