def unset_default(devices=[]): ''' Remove configuration parameter for the given device, to avoid synchronization and mounting by default ''' if len(devices) == 0: devices = local_config.get_default_devices() for name in devices: local_config.set_default_device_config(name, False)
def set_default(device): ''' Set configuration parameter for the given device, to synchronize and mount it by default. ''' local_config.set_default_device_config(device, True)