Duplicated APK advice in ssh login screen banner

@timur.davletshin

Have you notified the banner has the text of the APK warning twice?

BusyBox v1.37.0 (2025-12-06 00:49:16 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r32228-a90fb76736
 -----------------------------------------------------

 OpenWrt recently switched to the "apk" package manager!

 OPKG Command           APK Equivalent      Description
 --------------------------------------------------------------
----
 opkg install <pkg>     apk add <pkg>       Install a package
 opkg remove <pkg>      apk del <pkg>       Remove a package
 opkg upgrade           apk upgrade         Upgrade all package
s
 opkg files <pkg>       apk info -L <pkg>   List package conten
ts
 opkg list-installed    apk info            List installed pack
ages
 opkg update            apk update          Update package list
s
 opkg search <pkg>      apk search <pkg>    Search for packages
 --------------------------------------------------------------
----

For more information visit:
https://openwrt.org/docs/guide-user/additional-software/opkg-to
-apk-cheatsheet


 OpenWrt recently switched to the "apk" package manager!

 OPKG Command           APK Equivalent      Description
 --------------------------------------------------------------
----
 opkg install <pkg>     apk add <pkg>       Install a package
 opkg remove <pkg>      apk del <pkg>       Remove a package
 opkg upgrade           apk upgrade         Upgrade all package
s
 opkg files <pkg>       apk info -L <pkg>   List package conten
ts
 opkg list-installed    apk info            List installed pack
ages
 opkg update            apk update          Update package list
s
 opkg search <pkg>      apk search <pkg>    Search for packages
 --------------------------------------------------------------
----

For more https://openwrt.org/docs/guide-user/additional-softwar
e/opkg-to-apk-cheatsheet

I didn't care about it at all. I just installed luci and tried whether it works for me :laughing:

EDIT: it did work as before because my ISP uses DHCPv6. I tried odhcp6c manually from CLI - looks like random works but still not a real life scenario.

1 Like

I used LuCI too, but noticed it logging in to copy/paste the configuration.

Hence the norelease was added by LuCI.

Have you updated your /etc/profile (after recent changes)?

I guessed that it will happen to many, who keep settings at sysupgrade...

/etc/profile was split to several pieces, and if you carry the old version, you see the text both from it and from the new separate snippets.

You should copy a fresh /etc/profile from /rom/etc/profile so that the separated parts get removed from the main profile.

3 Likes

???

OK....I'll read up on this change and try to understand what you're saying.

I assume from a quick read - that the previous sysupgrade behavior has changed. I'll test after the family's Sunday gathering (and Internet streaming). :smiley:

Thanks.

No. No change there.

But some of the default files (that are backuped in sysupgrade as you may change them) were changed, and you carry the old version in your sysupgrade backup.

Like I said above

2 Likes

There is a file in /etc/profile.d/that gives out the banner, as well as the banner part being inside /etc/profileitself. I deleted the part in the latter file to stop it from being displayed twice.