- Fixes bug TDIS-95
- in the ks file, we need to set the right options for the device:
and in the %post of the ks file, write the correct options for the specific device
cat > /etc/sysconfig/connman <<EOF
OPTIONS="-Woption"
EOF
Change-Id: I8697ef852d95947baea0de671b0042ab94b606fe
%post
systemctl daemon-reload
systemctl restart connman.service
-
+
%preun
systemctl stop connman.service
-
+
%postun
systemctl daemon-reload
After=syslog.target
[Service]
+EnvironmentFile=-/etc/sysconfig/connman
Type=dbus
BusName=net.connman
-ExecStart=@prefix@/sbin/connmand -n
+ExecStart=@prefix@/sbin/connmand -n $OPTIONS
[Install]
WantedBy=multi-user.target