linuxconf 1.26r1 changes log

linuxconf 1.26r1 changes log

previous versions: 1.26
Change log index


Module shellmod: vregistry support

It is now possible to use the virtual registry from a shellmod script. This allow easy access to various setting in Linuxconf without having to understand the underlying file formats. There are 3 new commands:

Here is an example:

       # Getting some values from /etc/samba/smb.conf
       # The values will be stored in $workgroup and $winsserver
        echo vreg_get samba.workgroup workgroup
        echo vreg_get samba.winsserver winsserver
        qecho notice "workgroup is $workgroup, wins is $winsserver"
        # Changing the values
        qecho vreg_set samba.workgroup MYGROUP
        qecho vreg_set samba.winsserver ""

A man page was also written for the module.