-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
83 lines (82 loc) · 4.92 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
################################################################################################################
# config-lcwa-speed script functions
#
# Latest Mods:
#
# Version stamping for the environment file and for the config.json file. Will be used to determine
# if those files need to be recreated by the update service.
#
# config-lcwa-speed-sysprep.sh updated to enable systemd-timesyncd.service and systemd-time-wait-sync.service
#
# config-lcwa-speed-services.sh updated to add Wants= & After=systemd-time-wait-sync.service so that RPi systems
# will have gotten an ntp time sync from systemd-timesyncd.service before our service starts.
#
################################################################################################################
# CONFIG SCRIPTS
################################################################################################################
#
# config-lcwa-speed.sh -- top level install script for the lcwa-speed service. It invokes the following scripts:
#
# scripts/config-lcwa-speed-sysprep.sh -- initial sys prep; configures rpi systems for us local, etc,
# configures tz, hostname, installs some basic utilites, adds
# admin sudo accounts. Configures sshd to allow logins from
# systems using old hostkeys (e.g. dropbear). Adds some helpful
# bash aliases for managing & viewing logs.
#
# scripts/config-lcwa-speed-kpanic.sh -- configures sysctl runtime kernel parameters to enable auto
# reboots on kernel panics. Called by:
# scripts/config-lcwa-speed-sysprep.sh
#
# scripts/config-lcwa-speed-inst.sh -- creates the service environmental file that controls component
# install locations, account names, service name, etc. Creates
# service account, various directories for service components.
#
# scripts/config-clwa-speed-env.sh -- creates the service environmental file independent of init
# (for testing only)
#
# scripts/config-lcwa-speed-deps.sh -- Installs all the dependencies for the service, including
# system utilities, development tools, python libraries,
# and ookla speedtest binary.
#
# scripts/config-ookla-speedtest.sh -- Installs the ookla speedtest binary and creates the ookla
# license file.
#
# scripts/config-lcwa-speed-repos.sh -- clones the repos to their install locations
#
# scripts/config-lcwa-speed-jsonconf.sh -- creates the config.json file required by the python code
#
# scripts/config-lcwa-speed-services.sh -- creates and enables the systemd service and timer unit files
#
# scripts/config-lcwa-speed-pppoe.sh -- creates the optional PPPoE interface
#
# scripts/config-lcwa-speed-utils.sh -- installs various utility scripts
#
# scripts/config-lcwa-speed-fw.sh -- configures the system firewall
#
#
################################################################################################################
# UTILITY SCRIPTS
################################################################################################################
#
# scripts/lcwa-speed-env.sh -- populates the service environmental vars with default values
#
# scripts/lcwa-speed-fwck.sh -- checks the firewall state. Should be invoked from
# /etc/rc.local at boot.
#
# scripts/lcwa-pppck.sh -- checks the state of the pppoe interface. Not needed if the
# pppoe-connect systemd service is installed by
# scripts/config-lcwa-speed-pppoe.sh
#
# scripts/lcwa-speed-lognetdev.sh -- logs traffic stats for the network interfaces
#
# scripts/lcwa-speed-logwipe.sh -- wipes the stdout and stderr logs
#
# scripts/lcwa-speed-logview.sh -- Uses multitail to view the stdout, stderr and this day's
# CSV speedfile.
#
# scripts/lcwa-speed-update.sh -- checks for and performs git updates for the lcwa-speed and
# config repos.
#
# scripts/lcwa-speed-debug.sh -- method to run the lcwa-speed python code independent of the
# systemd service for debugging purposes.
#