From: Jo-Philipp Wich
This allows building uncompressed tar archives from shell scripts (and
compressing them later if needed)
Signed-off-by: Rafał Miłecki
---
V2: Simplify dd in __tar_print_padding (I still think helper is useful)
Hardcode 0/0/ root/root for now as most likely it'll be eno
From: Rafał Miłecki
Disabled services should be kept disabled after sysupgrade. This can be
easily handled using a proper uci-defaults script.
Extend sysupgrade to check for disabled services, generate uci-defaults
script disabling them and include it in backup.
Cc: Christian Marangi
Cc: Jo-Ph
From: Rafał Miłecki
Replace mount + overlay with manually built tar archive that gets
prepended to the actual config files backup. This allows more
flexibility with including extra backup files. They can be included at
any paths and don't require writing to flash or mounting an overlay
which has
Hi Rafał,
comments inline. Sorry for the bikeshedding ahead.
~ Jo
[...]
+
+__tar_print_padding() {
+ dd if=/dev/zero bs=$1 count=1 2>/dev/null
$1 may be 0 which is an invalid value for `bs=`:
root@OpenWrt:~# dd bs=0
dd: number 0 is not in 1..2147483647 range
A value of "0" is val
From: Rafał Miłecki
Replace mount + overlay with manually built tar archive that gets
prepended to the actual config files backup. This allows more
flexibility with including extra backup files. They can be included at
any paths and don't require writing to flash or mounting an overlay
which has
From: Rafał Miłecki
Disabled services should be kept disabled after sysupgrade. This can be
easily handled using a proper uci-defaults script.
Extend sysupgrade to check for disabled services, generate uci-defaults
script disabling them and include it in backup.
Cc: Christian Marangi
Cc: Jo-Ph
From: Jo-Philipp Wich
This allows building uncompressed tar archives from shell scripts (and
compressing them later if needed)
Signed-off-by: Rafał Miłecki
---
V2: Simplify dd in __tar_print_padding (I still think helper is useful)
Hardcode 0/0/ root/root for now as most likely it'll be eno
I recently received a new in box LinkSys EA9500 v1.1 US version
router. I opened it and tried to use it in my home network but found
the native firmware to be undesirable and its performance less than
stellar. I would like to donate it to OpenWRT if you would like to
have it. Anyone interested?
Th