Menu

#3 Add file variable option to after scripts

open
nobody
None
7
2006-04-12
2006-04-12
JofCore
No

I would like to be able to reference the file that I
just placed via a variable in an after script.

For example, an after script like this:

#!/bin/bash
chown named: /var/named/chroot/var/named/my.zone.file

could be changed to work like this if a variable were
allowed:

#!/bin/bash
chown named: $$PLACED_FILE$$

which would make things much easier for me to write
after scripts that do something to the file afterwards...

Discussion


Log in to post a comment.