Menu

Change default syntax date of ask_user

Help
dch
2013-08-02
2013-10-29
  • dch

    dch - 2013-08-02

    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.

     
  • Steven Shiau

    Steven Shiau - 2013-08-15

    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.

     
  • dch

    dch - 2013-10-29

    OK, thanks!

     

Log in to post a comment.