Compare commits
2 Commits
e03f2fc84f
...
80c1368f2c
Author | SHA1 | Date | |
---|---|---|---|
80c1368f2c | |||
7b3a05217c |
|
@ -25,12 +25,9 @@ cat ${pwd}/feeds.conf >> feeds.conf
|
||||||
./scripts/feeds install -a
|
./scripts/feeds install -a
|
||||||
|
|
||||||
make defconfig
|
make defconfig
|
||||||
echo 'CONFIG_PACKAGE_python3-packages=y' >> .config
|
|
||||||
echo 'CONFIG_PACKAGE_python3-packages-list="CherryPy==18.8.0"' >> .config
|
|
||||||
# Enable collectd network encryption
|
# Enable collectd network encryption
|
||||||
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
||||||
|
|
||||||
make package/python3-packages/compile
|
|
||||||
make package/asterisk-chan-quectel/compile
|
make package/asterisk-chan-quectel/compile
|
||||||
make package/collectd/compile
|
make package/collectd/compile
|
||||||
# no signing key
|
# no signing key
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
[ "$(uci -q get luci.diag.dns)" = "bitmessage.org" ] && exit 0
|
VERSION=1
|
||||||
|
|
||||||
# make a significant change
|
[ "$(uci -q get defaults.version.network)" -ge "$VERSION" ] & exit
|
||||||
/sbin/uci set luci.diag.dns='bitmessage.org'
|
|
||||||
|
# save version
|
||||||
|
/sbin/uci set defaults.version.network="$VERSION"
|
||||||
|
|
||||||
# switch LAN to eth1
|
# switch LAN to eth1
|
||||||
/sbin/uci set network.@device[0].ports='eth1'
|
/sbin/uci set network.@device[0].ports='eth1'
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
VERSION=1
|
VERSION=1
|
||||||
|
|
||||||
[ "$(uci -q get defaults.version.dropbear)" -ge "$VERSION" ] && exit 0
|
if [ "$(uci -q get defaults.version.dropbear)" -ge "$VERSION" ]
|
||||||
|
then
|
||||||
|
# may leave dropbear off after an upgrade
|
||||||
|
/sbin/service dropbear enable
|
||||||
|
/sbin/service dropbear restart
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# save version
|
# save version
|
||||||
/sbin/uci set defaults.version.dropbear="$VERSION"
|
/sbin/uci set defaults.version.dropbear="$VERSION"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user