- Timestamp:
- Nov 25, 2008, 8:10:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.postinst
r1765 r1767 24 24 adduser munin adm 25 25 26 # First clear out the old stuff we threw in /etc/sudoers 27 perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 28 26 29 # So munin can sudo to get to postfix queue info 30 # and smartctl info 31 # and info about running domains 27 32 cat >>/etc/sudoers <<EOF 28 33 ### BEGIN xvm-munin-config
Note: See TracChangeset
for help on using the changeset viewer.