Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

plugin .page script?

Featured Replies

Since I posted here a couple of weeks ago, I have been attempting to resurrect one of my old plugins, originally created about ten years ago.

 

At that time, I copied an example and customised to create my .plg file.  One of the elements in the .plg is an inline .page file.

 

At that time, clicking on the 'Apply' button would invoke an rc.d/rc.<app> script.  I find, now, that the rc.d file is no longer run from the web gui (it runs fine when invoked from the console).

 

Ten years ago, "runCmd" in the submit for the 'Apply' button magically took the content of "cmd" and used that to invoke the rc.d script.

 

I would be extremely grateful if anyone can assist me to get that working again, or can offer a simple example .page which I can copy.

 

I attach my .page file.

mpop.page

Edited by PeterB

  • Author
1 hour ago, Squid said:

See https://forums.unraid.net/topic/54237-version-630-rc9-release-notes/

 

Additionally, IIRC (Can't easily find the relevant post) you can no longer directly execute anything that's not within /usr/local/emhttp/plugins  (you also have to use a relative path of /plugins)

 

Thanks for that.  However, it seems that I don't have permission to access that topic.

 

This confirms my view that plugin documentation is a real mess, with snippets of information scattered all around!

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.