I would to know how it is possible to change the defaut syntax of the date, when the option ask_user is used. (2013-07-02-16-img -> MAC adress of the client, because it's my aim)
I have already use the ocs-sr file to make some changes with the autoname parameter, but I don't kow how to change the name of the folder create when ask_user is used.
Thanks a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's hard coded in "/usr/share/drbl/sbin/ocs-functions", you can find a line (around 10475):
tgt_name_default="$(date +%F-%H-img)"
You can modify that.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I would to know how it is possible to change the defaut syntax of the date, when the option ask_user is used. (2013-07-02-16-img -> MAC adress of the client, because it's my aim)
I have already use the ocs-sr file to make some changes with the autoname parameter, but I don't kow how to change the name of the folder create when ask_user is used.
Thanks a lot.
It's hard coded in "/usr/share/drbl/sbin/ocs-functions", you can find a line (around 10475):
tgt_name_default="$(date +%F-%H-img)"
You can modify that.
Steven.
OK, thanks!