Customize space for external HDD (Banner) Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
esturniolo
Posts: 11
Joined: Sun Apr 01, 2018 1:09 am

Customize space for external HDD (Banner)

Post by esturniolo »

Hi all.
There is a way to customize the banner script to show the free space for an external USB device storage?

Code: Select all

/dev/sdX
For example

Code: Select all

/dev/sdb1
It's great when you have installed something like Pydio, Nextcloud, etc...

Thanks
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: Customize space for external HDD (Banner)

Post by MichaIng »

You can use the custom banner entry option and on the input field enter:
df -h --output=avail /dev/sdb1 | mawk 'NR==2 {print $1}'
esturniolo
Posts: 11
Joined: Sun Apr 01, 2018 1:09 am

Re: Customize space for external HDD (Banner)

Post by esturniolo »

Yeah!
Thanks MichaIng!
Post Reply