tiamat Posted May 14, 2016 Share Posted May 14, 2016 Hi I would like to add Armbian version to banner after login (eg. v5.10) to be sure that I'm using latest version. Is this value stored somewhere in the filesystem? I already checked: /proc/version /etc/debian_version /etc/os-release but it's not there. I found it in /etc/armbian.txt but this is plain text file and parsing it to fetch the value is a little overkill. Is there a better place where I can find it? Link to comment Share on other sites More sharing options...
zador.blood.stained Posted May 14, 2016 Share Posted May 14, 2016 Is there a better place where I can find it? You can check version of Armbian-specific packages (kernel, headers, DTB, board support package), it should match Armbian release version. I.e. dpkg-query -W -f='${Version}\n' linux-jessie-root-orangepione There will be an easier way to get Armbian version in the future, but probably not in the next release. Link to comment Share on other sites More sharing options...
tiamat Posted May 14, 2016 Author Share Posted May 14, 2016 It is enough for me for now. Thank you. Link to comment Share on other sites More sharing options...
tiamat Posted July 2, 2016 Author Share Posted July 2, 2016 Just for people who need such info: in latests Armbian you can find armbian specific info in following file /etc/armbian-release Link to comment Share on other sites More sharing options...
Nomax Posted November 9, 2016 Share Posted November 9, 2016 many thanks, very helpful. Link to comment Share on other sites More sharing options...
Recommended Posts