Skip to content

Commit

Permalink
ALL PROFILES: deferable-reboot renamed to deferrable-reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
ilario committed Jan 3, 2025
1 parent 1925b51 commit c1eb45b
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion LibremeshTestBed/indoor_omnidirectional_dualband/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Mesh and AP for Test Bed LibreMesh 2024 indoor omnidirectional dual band nodes
PROFILE_DEPENDS:=+lime-docs-minimal \
+deferable-reboot \
+deferrable-reboot \
+lime-debug \
+lime-app \
+lime-hwd-openwrt-wan \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime network
option main_ipv4_address '10.1.128.0/16/17'
Expand Down
2 changes: 1 addition & 1 deletion LibremeshTestBed/outdoor_omnidirectional_dualband/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Mesh and AP for Test Bed LibreMesh 2024 indoor omnidirectional dual band nodes
PROFILE_DEPENDS:=+lime-docs-minimal \
+deferable-reboot \
+deferrable-reboot \
+lime-debug \
+lime-app \
+lime-hwd-openwrt-wan \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime network
option main_ipv4_address '10.1.128.0/16/17'
Expand Down
2 changes: 1 addition & 1 deletion LibremeshTestBed/outdoor_sectorial_singleband/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Mesh and AP for Test Bed LibreMesh 2024 indoor omnidirectional dual band nodes
PROFILE_DEPENDS:=+lime-docs-minimal \
+deferable-reboot \
+deferrable-reboot \
+lime-debug \
+lime-app \
+lime-hwd-openwrt-wan \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime wifi
option country 'KR'
Expand Down
6 changes: 3 additions & 3 deletions calafou/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ A large selection of packages, including wpad-openssl, is used, resulting in lar
### lime-community configuration
```
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days
```

The deferable-reboot package is installed, and will reboot every node once per week. There should be no need for that, but just in case. If you don't want it to reboot you router, just set an exhaggeratedly large number here.
The deferrable-reboot package is installed, and will reboot every node once per week. There should be no need for that, but just in case. If you don't want it to reboot you router, just set an exhaggeratedly large number here.

```
config lime network
Expand Down Expand Up @@ -176,7 +176,7 @@ Packages suggested on the [LibreMesh website](https://libremesh.org/development.

Additional (maybe) useful packages:

* deferable-reboot
* deferrable-reboot
* safe-reboot
* wpad-openssl
* shared-state-network_nodes
Expand Down
2 changes: 1 addition & 1 deletion calafou/indoor/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Encryptable mesh and AP for Calafou indoor nodes
PROFILE_DEPENDS:=+deferable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
PROFILE_DEPENDS:=+deferrable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
+lime-docs \
+lime-proto-babeld \
+lime-proto-batadv \
Expand Down
2 changes: 1 addition & 1 deletion calafou/indoor/root/etc/config/lime-community
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime network
option main_ipv4_address '10.1.128.0/16/17'
Expand Down
2 changes: 1 addition & 1 deletion calafou/indoor2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Encryptable mesh and AP for Calafou indoor nodes, second node in rooms with two nodes, 5 GHz channel clashing with the outdoor and gateway nodes
PROFILE_DEPENDS:=+deferable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
PROFILE_DEPENDS:=+deferrable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
+lime-docs \
+lime-proto-babeld \
+lime-proto-batadv \
Expand Down
2 changes: 1 addition & 1 deletion calafou/indoor2/root/etc/config/lime-community
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime network
option main_ipv4_address '10.1.128.0/16/17'
Expand Down
2 changes: 1 addition & 1 deletion calafou/outdoor_gateway/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Encryptable mesh and AP for Calafou outdoor node used as a gateway
PROFILE_DEPENDS:=+deferable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
PROFILE_DEPENDS:=+deferrable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
+lime-docs \
+lime-proto-babeld \
+lime-proto-batadv \
Expand Down
2 changes: 1 addition & 1 deletion calafou/outdoor_gateway/root/etc/config/lime-community
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime network
option main_ipv4_address '10.1.128.0/16/17'
Expand Down
2 changes: 1 addition & 1 deletion calafou/outdoor_nongateway/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Encryptable mesh and AP for Calafou outdoor nodes
PROFILE_DEPENDS:=+deferable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
PROFILE_DEPENDS:=+deferrable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
+lime-docs \
+lime-proto-babeld \
+lime-proto-batadv \
Expand Down
2 changes: 1 addition & 1 deletion calafou/outdoor_nongateway/root/etc/config/lime-community
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config lime system
option deferable_reboot_uptime_s '654321' # reboot every 7.5 days
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days

config lime network
option main_ipv4_address '10.1.128.0/16/17'
Expand Down
2 changes: 1 addition & 1 deletion libremesh/default/root/etc/config/lime-community
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config lime system
option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
option root_password_policy 'DO_NOTHING'
option root_password_secret ''
option deferable_reboot_uptime_s '97200'
option deferrable_reboot_uptime_s '97200'
option firstbootwizard_configured false
option firstbootwizard_dismissed false

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config lime system
option hostname 'ql-%M4%M5%M6'
option domain 'red.quintana.libre.org.ar'
option deferable_reboot_uptime_s '10800'
option deferrable_reboot_uptime_s '10800'

config lime network
option main_ipv4_address '10.5.0.0/21'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# Si anda llegar "a internet" extendemos el plazo de "deferable reboot".
# Si anda llegar "a internet" extendemos el plazo de "deferrable reboot".
# Es el último recurso para no quedar desconectados del nodo si queda en un estado inaccesible.

internet_gw_ip=8.8.8.8 #FIXME
Expand All @@ -11,7 +11,7 @@ unique_append()
}

unique_append \
"*/10 * * * * ((if ping -c 10 -W 10 $internet_gw_ip &> /dev/null; then awk '{print \$1 + 800}' /proc/uptime > /tmp/deferable-reboot.defer ; fi )&) "\
"*/10 * * * * ((if ping -c 10 -W 10 $internet_gw_ip &> /dev/null; then awk '{print \$1 + 800}' /proc/uptime > /tmp/deferrable-reboot.defer ; fi )&) "\
/etc/crontabs/root


Expand Down

0 comments on commit c1eb45b

Please sign in to comment.