diff --git a/debian/lenovo-fccunlock.install b/debian/lenovo-fccunlock.install index fb8a321..a59aa7c 100755 --- a/debian/lenovo-fccunlock.install +++ b/debian/lenovo-fccunlock.install @@ -7,6 +7,5 @@ debian/mm-hook => /usr/lib/x86_64-linux-gnu/ModemManager/fcc-unlock.d/2c7c:6008 DPR_Fcc_unlock_service /opt/fcc_lenovo/ libmodemauth.so /opt/fcc_lenovo/lib/ libmbimtools.so /opt/fcc_lenovo/lib/ -debian/lenovo-fccunlock.service /lib/systemd/system/ suspend-fix/mm-wrapper.sh /opt/fcc_lenovo/suspend-fix/ suspend-fix/apply-test-option.conf /etc/systemd/system/ModemManager.service.d/ diff --git a/debian/lenovo-fccunlock.service b/debian/lenovo-fccunlock.service deleted file mode 100644 index 33d826e..0000000 --- a/debian/lenovo-fccunlock.service +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=fccunlock - -[Service] -Type=oneshot -User=root -ExecStart=/opt/fcc_lenovo/DPR_Fcc_unlock_service diff --git a/debian/mm-hook b/debian/mm-hook index 11b53a9..bf3aa90 100755 --- a/debian/mm-hook +++ b/debian/mm-hook @@ -1,4 +1,4 @@ #!/bin/bash -systemctl start lenovo-fccunlock +./opt/fcc_lenovo/DPR_Fcc_unlock_service -v exit $? diff --git a/debian/rules b/debian/rules index bcaae67..7b2efa6 100755 --- a/debian/rules +++ b/debian/rules @@ -14,7 +14,6 @@ override_dh_auto_configure: override_dh_installsystemd: dh_installsystemd -p lenovo-cfgservice lenovo-cfgservice.service - dh_installsystemd -p lenovo-fccunlock lenovo-fccunlock.service --no-enable --no-start execute_after_dh_install: install -m 0644 -D debian/opt.fcc_lenovo.configservice_lenovo -t debian/lenovo-cfgservice/etc/apparmor.d