-
Notifications
You must be signed in to change notification settings - Fork 1
/
ffcp_variables
58 lines (53 loc) · 2.47 KB
/
ffcp_variables
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
#!/bin/bash
# path variables
pathucidefaults="files/etc/uci-defaults"
pathuciconfig="files/etc/config"
pathucidropbear="files/etc/dropbear"
pathopenvpncerts="files/etc/openvpn"
pathcp="/bin/cp"
pathsed="/usr/bin/sed"
#pathopenwrtbin="bin"
pathopenwrtbin="bin/targets"
# non private
pathmodules="ffcp_modules.d"
pathdevices="ffcp_devices.d"
pathparameters="ffcp_parameters.d"
pathenv="ffcp_env.d"
pathhwconfig="ffcp_config.d"
pathbinout="ffcp_bins"
# private
pathmodulespriv="ffcp_private_modules.d"
pathdevicespriv="ffcp_private_devices.d"
pathparameterspriv="ffcp_private_parameters.d"
pathenvpriv="ffcp_private_env.d"
pathhwconfigpriv="ffcp_private_config.d"
pathbinoutpriv="ffcp_private_bins"
# file variables
filesshpubkeys="sshpubkeys"
fileuciparameter="ffcp_parameter.conf"
fileucienv="ffcp_env.conf"
filemodulealfred="$pathuciconfig/alfred"
filemodulebatmanadv="$pathuciconfig/batman-adv"
filemoduleddns="$pathuciconfig/ddns"
filemoduledhcp="$pathuciconfig/dhcp"
filemoduledropbear="$pathuciconfig/dropbear"
filemodulefirewall="$pathuciconfig/firewall"
filemodulenetwork="$pathuciconfig/network"
filemoduleopenvpn="$pathuciconfig/openvpn"
filemodulesystem="$pathuciconfig/system"
filemodulevnstat="$pathuciconfig/vnstat"
filemodulewireless="$pathuciconfig/wireless"
filechecksum="sha256sums"
filehwconfig=".config"
filehwconfigbefore=".config.before"
filedropbearkeys="authorized_keys"
# bin file lists
filebinc7v2="lede-ar71xx-generic-archer-c7-v2-squashfs-factory.bin lede-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin"
filebinc7v1="lede-ar71xx-generic-archer-c7-v1-squashfs-factory.bin lede-ar71xx-generic-archer-c7-v1-squashfs-sysupgrade.bin"
filebin4300v1="lede-ar71xx-generic-tl-wdr4300-v1-il-squashfs-factory.bin lede-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin lede-ar71xx-generic-tl-wdr4300-v1-il-squashfs-sysupgrade.bin lede-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin"
filebin1043v1="lede-ar71xx-generic-tl-wr1043nd-v1-squashfs-factory.bin lede-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin"
filebinwndr3700v2="lede-ar71xx-generic-wndr3700v2-squashfs-factory.img lede-ar71xx-generic-wndr3700v2-squashfs-sysupgrade.bin"
filebinx86="lede-x86-generic-combined-ext4.img lede-x86-generic-combined-squashfs.img lede-x86-generic-generic-rootfs.tar.gz lede-x86-generic-rootfs-ext4.img lede-x86-generic-rootfs-squashfs.img lede-x86-generic-vmlinuz"
modulegroups=(alfred batmanadv ddns dhcp dropbear firewall network openvpn system vnstat wireless)
recreateconfig="true"
buildthreads=5