CLOSED: Mount Shares Locally - question on some syntax
Posted: Tue Sep 05, 2017 11:11 am
Under the configuration section are some modifications to /etc/init.d/mount_shares_locally script
1. Replace "***set this string to your username!***" (line 12) with your username. For example "amahi"
- Should that be:
username="amahi"; including the semicolon, quotes and no spaces or username=amahi or username = amahi
2. Change hda (line 25) to the appropriate password:
mysql -u root -phda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p
- from the template:
mysql -u amahihda -hda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p
- so, should we change amahihda? to "root:" I'm guessing that's the user or maybe it should be our 1st user or maybe our 1st user password?
- should we change "-hda" to "-phda?" or is that the password we're supposed to change?
I'm just not quite sure what I need to do or not-do.
Thanks,
Craig aka Kaidukhanne
1. Replace "***set this string to your username!***" (line 12) with your username. For example "amahi"
- Should that be:
username="amahi"; including the semicolon, quotes and no spaces or username=amahi or username = amahi
2. Change hda (line 25) to the appropriate password:
mysql -u root -phda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p
- from the template:
mysql -u amahihda -hda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p
- so, should we change amahihda? to "root:" I'm guessing that's the user or maybe it should be our 1st user or maybe our 1st user password?
- should we change "-hda" to "-phda?" or is that the password we're supposed to change?
I'm just not quite sure what I need to do or not-do.
Thanks,
Craig aka Kaidukhanne