iopsys-feed/obuspa
Roman Azarenko 8c867fc829
obuspa: init: fix manipulating USP_BOARD_IFNAME env var in .profile
This addresses two problems:

1. `sed 'g/export USP_BOARD_NAME/d'` would erase all the lines in the affected
file, regardless of whether there was a match or not. Replace this with
`sed '/foo/d'`, which correctly deletes just the affected lines.

2. Changing an `interface`/`ifname` in UCI configuration would end up
appending to /root/.profile due to how the control flow was written.
2022-04-20 09:11:40 +02:00
..
files/etc obuspa: init: fix manipulating USP_BOARD_IFNAME env var in .profile 2022-04-20 09:11:40 +02:00
Config.in obuspa: Integrate 5.0 release 2022-02-11 19:15:34 +05:30
Makefile obuspa: init: fix manipulating USP_BOARD_IFNAME env var in .profile 2022-04-20 09:11:40 +02:00