diff options
author | szaimen <szaimen@e.mail.de> | 2020-05-13 22:14:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 22:14:55 +0300 |
commit | c7d5807659ae3b1125f8129ed5b3cd85a7ae7d46 (patch) | |
tree | 37a5732c85386c7ecacf0ee2c1dbc344d38f3779 /apps/smbmount.sh | |
parent | 5b0103e58a615077124a4a122ef3fd7fefd9d5b3 (diff) |
Main menu (#1228)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'apps/smbmount.sh')
-rw-r--r-- | apps/smbmount.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/smbmount.sh b/apps/smbmount.sh index 27dd61e2..17666760 100644 --- a/apps/smbmount.sh +++ b/apps/smbmount.sh @@ -22,6 +22,9 @@ SMBSHARES="/mnt/smbshares" SMBSHARES_SED=${SMBSHARES//\//\\/} SMB_CREDENTIALS="/root/.smbcredentials" +# Install whiptail if not existing +install_if_not whiptail + # Check MAX_COUNT if ! [ $MAX_COUNT -gt 0 ] then |