#!/bin/bash # This first part keeps your browser from switching pages. # Except on my iPhone, still looking for a work around there. echo "No content" echo "text/plain" echo "" ~/script_for_on # This next part is here to edit my website that lets me know # what lights are currently off or on. sed -i 's/offbutton/onbutton/' /var/www/index3.html