#10 Patch for external config files

closed-accepted
nobody
None
5
2011-08-14
2007-03-28
Philip X
No

The attached patch against version 2.5 enables the variables to be set in 3 different ways:
- in a config file in the same folder as the script (file should be named $0.config, e.g. if the script is automysqlbackup.sh the config would be automysqlbackup.sh.config)
- in a config file in the /etc folder (/etc/automysqlbackup.config)
- from within the file itself (original option)

Patch is in diff -uwb format.

Thanks.

Discussion

  • Philip X

    Philip X - 2007-03-28

    Patch to enable external config files

     
  • PittaGurneyi

    PittaGurneyi - 2011-08-14
    • status: open --> closed-accepted
     

Log in to post a comment.