Commit Graph

10 Commits

Author SHA1 Message Date
Szymon Janc
6960cb73b2 hostname: Fallback to static hostname if pretty hostname is not set
If pretty hostname is not set fallback to static hostname (if it is
set). If static or pretty hostname is not set appropriate properties
are empty strings not NULLs. This behaviour is recomended by hostnamed.
2013-02-15 12:50:41 +02:00
Szymon Janc
f0c8fed306 hostname: Fix setting adapter name to empty string
If pretty hostname is not set empty string is received. Don't update
adapters' names is such case.
2013-02-15 12:48:35 +02:00
Marcel Holtmann
d29d258758 plugins: Use btd_adapter_get_index instead of adapter_get_dev_id 2013-01-05 15:29:08 -08:00
Marcel Holtmann
a67c35315c plugins: Use btd_adapter_get_default instead of adapter_get_default 2013-01-05 15:19:10 -08:00
Johan Hedberg
4cb7c10de1 hostname: Prefer adapter_get_default() over manager function 2013-01-03 14:15:23 +02:00
Johan Hedberg
f632a0c43a hostname: Prefer adapter_foreach over manager function 2013-01-03 14:11:02 +02:00
Marcel Holtmann
cfb0a6a5f9 hostname: No need to restrict adapter name changes anymore 2012-12-29 21:10:56 -08:00
Marcel Holtmann
d523d8e46d hostname: Add fallback to DMI information for class of device 2012-12-29 15:56:15 -08:00
Marcel Holtmann
26d6372b2c hostname: Use numbered pretty hostnames for multiple adapters 2012-12-29 15:29:20 -08:00
Marcel Holtmann
7279e8508e plugins: Add support for systemd's hostname daemon 2012-12-29 14:46:19 -08:00