linuxconf 1.26r1 changes log

linuxconf 1.26r1 changes log

previous versions: 1.26
Change log index

Enhancements

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:

main(){
       # 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
        vreg_do
        qecho notice "workgroup is $workgroup, wins is $winsserver"
        # Changing the values
        qecho vreg_set samba.workgroup MYGROUP
        qecho vreg_set samba.winsserver "1.2.3.4"
        vreg_do
}

A man page was also written for the module.