[augeas-devel] [PATCH] shellvars.aug
ajs at redhat.com
ajs at redhat.com
Mon Jan 18 23:13:09 UTC 2010
Updated shellvars to provide a simple way of altering commented settings and making them available, for example, in /etc/sysconfig/nfs by default "MOUNTD_PORT" is commented out. With this patch you can do something like :
augtool> rm /files/etc/sysconfig/nfs/MOUNTD_PORT/commented
augtool> set /files/etc/sysconfig/nfs/MOUNTD_PORT 543543
Making the settings commented out again is just as simple
augtool> clear /files/etc/sysconfig/nfs/MOUNTD_PORT/commented
Thanks
--
__ __
.-----.| |_.-----.| |--.-----.-----.
|__ --|| _| _ || <| -__|__ --|
|_____||____|_____||__|__|_____|_____|
.----------------------------------.
( ajs at redhat.com || 919.754.4187 )
`----------------------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shellvars-update.patch
Type: text/x-patch
Size: 1315 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20100118/1852ba9f/attachment.bin>
More information about the augeas-devel
mailing list