gniemetz / automount

Mount shares at login
MIT License
40 stars 6 forks source link

Understanding the configuration #1

Closed jasondiesel closed 7 years ago

jasondiesel commented 7 years ago

In the "automount.sh" file, there are two sections at the beginning that refer to what looks like two files. Is the correct procedure, to copy/paste these commented blocks and paste them as new files in the respective locations, then edit them, then copy automout.sh to its correct location, chmod it, then it should run fine? Is that correct? Just missing a little documentation as to the configuration.

gniemetz commented 7 years ago

Hi Jason!

Yes, thats right. The automount.sh is still work in progress and it lacks of documentation.

best regards Gerd

2017-01-23 16:17 GMT+01:00 Jason Diesel notifications@github.com:

In the "automount.sh" file, there are two sections at the beginning that refer to what looks like two files. Is the correct procedure, to copy/paste these commented blocks and paste them as new files in the respective locations, then edit them, then copy automout.sh to its correct location, chmod it, then it should run fine? Is that correct? Just missing a little documentation as to the configuration.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gniemetz/automount/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABcRtpdxVTtef_YcvL0GdDJnia1YFQzSks5rVMSGgaJpZM4LrKSH .

jasondiesel commented 7 years ago

Ok, I am excited about this, so can help. This is something I have been struggling for a while, - not wanting to store any passwords in files - the easy way.... A question then:

In the following line:

CommonMaxRetryInSeconds
   <integer>COMMONMAXRETRYINSECONDS (eg. 30)</integer>

Should we replace "COMMONMAXRETRYINSECONDS (eg. 30)" and make that "30"

Or are the capital letters important? ie: "COMMONMAXRETRYINSECONDS 30"

gniemetz commented 7 years ago

The capital letters are placeholders, and the value 30 for the key CommonMaxRetryInSeconds is the time ping should try to reach the server.