Add LICENSE
This commit is contained in:
18
bin/gobigps
18
bin/gobigps
@@ -1,9 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2014, Daniele Viganò (daniele@vigano.me)
|
||||
#
|
||||
# gobigps is free software: you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# gobigps is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with gobigps. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
GPSDEV=/dev/ttyUSB0
|
||||
|
||||
|
||||
|
||||
startstop() {
|
||||
DO=$1
|
||||
|
||||
@@ -18,6 +30,7 @@ startstop() {
|
||||
fi
|
||||
}
|
||||
|
||||
# MAIN
|
||||
|
||||
if [ ! -w $GPSDEV ];
|
||||
then
|
||||
@@ -25,7 +38,6 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
case "$1" in
|
||||
|
||||
'start' | 'stop')
|
||||
|
Reference in New Issue
Block a user