From 8adb244d431c0caac36ba375609ffc91a7e25196 Mon Sep 17 00:00:00 2001 From: CODeRUS Date: Wed, 3 Sep 2014 19:15:34 +0600 Subject: [PATCH] Fixed usb-moded-systemd-rescue-mode Added executable permissions to turn-usb-rescue-mode-off --- rpm/usb-moded.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/usb-moded.spec b/rpm/usb-moded.spec index 0715cf3..a523485 100644 --- a/rpm/usb-moded.spec +++ b/rpm/usb-moded.spec @@ -302,7 +302,7 @@ install -d $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants/ install -m 644 -D systemd/%{name}.service %{buildroot}/lib/systemd/system/%{name}.service ln -s ../%{name}.service $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants/%{name}.service install -m 644 -D systemd/usb-moded-args.conf %{buildroot}/var/lib/environment/usb-moded/usb-moded-args.conf -install -m 644 -D systemd/turn-usb-rescue-mode-off %{buildroot}/%{_bindir}/turn-usb-rescue-mode-off +install -m 755 -D systemd/turn-usb-rescue-mode-off %{buildroot}/%{_bindir}/turn-usb-rescue-mode-off install -m 644 -D systemd/usb-rescue-mode-off.service %{buildroot}/lib/systemd/system/usb-rescue-mode-off.service install -m 644 -D systemd/usb-rescue-mode-off.service %{buildroot}/lib/systemd/system/graphical.target.wants/usb-rescue-mode-off.service