OpenWrt support added
This commit is contained in:
parent
cb7b3856c0
commit
6a134275a0
1 changed files with 2 additions and 1 deletions
|
@ -30,8 +30,9 @@ function restore_config() {
|
||||||
aptpkgfile="installed_packages"
|
aptpkgfile="installed_packages"
|
||||||
# restore opkg first
|
# restore opkg first
|
||||||
cp -R etc/opkg/ /etc
|
cp -R etc/opkg/ /etc
|
||||||
|
cp opkg.conf /etc
|
||||||
opkg update
|
opkg update
|
||||||
|
opkg install $(cat $aptpkgfile)
|
||||||
# now the programs installed via apt before we restore configs
|
# now the programs installed via apt before we restore configs
|
||||||
|
|
||||||
# we should be set app wise now the configs
|
# we should be set app wise now the configs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue