mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-22 04:12:28 +01:00
obouspa: Only set up .profile once.
This commit is contained in:
parent
6223a63efe
commit
b61bc3cd02
1 changed files with 2 additions and 1 deletions
|
|
@ -188,7 +188,8 @@ configure_obuspa() {
|
|||
export USP_BOARD_IFNAME=${l3device}
|
||||
|
||||
# Set this variable for root user
|
||||
echo "export USP_BOARD_IFNAME=${l3device}">>/root/.profile
|
||||
grep -q USP_BOARD_IFNAME /root/.profile || \
|
||||
echo "export USP_BOARD_IFNAME=${l3device}" >> /root/.profile
|
||||
|
||||
[ -f $cert ] && certificate=$cert
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue