#!/bin/sh
response=`alert "Install NetServices  note: if /boot/apps does not exist, it will be created."  "Yes" "No"`
path=`pwd`
APPS_DIR="/boot/apps"
if [ $response == "Yes" ]
	then
	if [ -d "$APPS_DIR" ]; then
	echo "apps dir exists"
	else
		mkdir /boot/apps
	fi 
	cp NetServices /boot/apps/NetServices
	mkdir  /boot/home/config/settings/NetServices
	cp $path/settings/* /boot/home/config/settings/NetServices/
fi
