I am trying to make a log file entry into logrotate.conf through shell script. Is there a command that controls a the entry and removal of log file entries into the logrotate.conf. What I mean is, something like 'logadm -w' or 'logadm -r' that can be used to add/remove an entry respectively, from logadm.conf. I need so that I don't make duplicate entries if I run the script multiple times. Please help.