From d497bc82880e25adc988a13898c42b3f854aafdc Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 28 Jul 2017 13:43:35 +0600 Subject: fake_trx: add copyright message to clck_gen.py and ctrl_cmd.py Change-Id: Ia79279dd9e85d131d66d790f1f3fd64fb1914f58 --- src/target/fake_trx/clck_gen.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/target/fake_trx/clck_gen.py') diff --git a/src/target/fake_trx/clck_gen.py b/src/target/fake_trx/clck_gen.py index f1c1f983..85dc00e0 100755 --- a/src/target/fake_trx/clck_gen.py +++ b/src/target/fake_trx/clck_gen.py @@ -29,6 +29,13 @@ import sys from threading import Timer from udp_link import UDPLink +COPYRIGHT = \ + "Copyright (C) 2017 by Vadim Yanitskiy \n" \ + "License GPLv2+: GNU GPL version 2 or later " \ + "\n" \ + "This is free software: you are free to change and redistribute it.\n" \ + "There is NO WARRANTY, to the extent permitted by law.\n" + class CLCKGen: # GSM TDMA definitions SEC_DELAY_US = 1000 * 1000 @@ -88,6 +95,9 @@ class Application: # Set up signal handlers signal.signal(signal.SIGINT, self.sig_handler) + # Print copyright + print(COPYRIGHT) + def run(self): self.link = UDPLink("127.0.0.1", 5800, 5700) self.clck = CLCKGen([self.link], ind_period = 51) -- cgit v1.2.3