#!/bin/bash
#used by firewallstate
#as a restart copy file
#to Startup folder

#cp /usr/local/firewallstate/firewallstaterun  /root/Startup/
if [ ! -f $HOME/.config/autostart/firewallstaterun.desktop ];then
echo '[Desktop Entry]
Encoding=UTF-8
Type=Application
NoDisplay=true
Name=firewallstaterun
Exec=firewallstaterun' > $HOME/.config/autostart/firewallstaterun.desktop

xdg-open $HOME/.config/autostart/firewallstaterun.desktop
fi