Unassigned Devices - Unable to set and run Device Script


Recommended Posts

Hi, I am trying to set a device script to run after automounting. 

I switched on automounting for the device (works fine) then set a filename in the

Device Script: /boot/config/plugins/unassigned.devices/scripts/import-script

paste the script in the big text-area and click save at the bottom of the page.

 

I can see the file is in place and generated with the script in-place with permissions

-rw------- 1 root root  5189 Jun  4 11:25 import-script

 

In the /boot/config/plugins/unassigned.devices/unassigned.devices.cfg I see the following "suspicious" entry 

command.1 = "/boot/config/plugins/unassigned.devices/packages/"

 

 

I unmount then automount... script has not run.

 

I open the settings again, Device Script shows packages folder.

I switch to the scripts folder, no file is shown for selection.

 

What am I doing wrong?

Edited by sdfyjert
typo
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.