Embed U-Navigator in Dynamix
This commit is contained in:
+4
-10
@@ -8,8 +8,8 @@
|
||||
|
||||
<CHANGES>
|
||||
### &version;
|
||||
- Initial U-Navigator plugin spike.
|
||||
- Installs WebGUI page, Node.js prototype backend, in-app window manager and drag-and-drop file navigator.
|
||||
- Native Dynamix-embedded U-Navigator page.
|
||||
- Adds PHP API endpoints for listing, upload, move and copy without a separate web server.
|
||||
</CHANGES>
|
||||
|
||||
<FILE Name="/boot/config/plugins/&name;/&package;">
|
||||
@@ -21,17 +21,12 @@
|
||||
<INLINE>
|
||||
mkdir -p /boot/config/plugins/&name;
|
||||
tar -xzf /boot/config/plugins/&name;/&package; -C /
|
||||
chmod +x /usr/local/emhttp/plugins/&name;/scripts/rc.u-navigator
|
||||
ln -sf /usr/local/emhttp/plugins/&name;/scripts/rc.u-navigator /usr/local/sbin/rc.u-navigator
|
||||
find /boot/config/plugins/&name; -type f -name "&name;-*.tgz" ! -name "&package;" -delete
|
||||
echo ""
|
||||
echo "-----------------------------------------------------------"
|
||||
echo " &name; &version; has been installed."
|
||||
echo ""
|
||||
echo " Start: rc.u-navigator start"
|
||||
echo " Stop: rc.u-navigator stop"
|
||||
echo " Status: rc.u-navigator status"
|
||||
echo ""
|
||||
echo " Note: This prototype requires Node.js to be available on Unraid."
|
||||
echo " Open: Tools -> U-Navigator"
|
||||
echo "-----------------------------------------------------------"
|
||||
echo ""
|
||||
</INLINE>
|
||||
@@ -39,7 +34,6 @@ echo ""
|
||||
|
||||
<FILE Run="/bin/bash" Method="remove">
|
||||
<INLINE>
|
||||
rc.u-navigator stop 2>/dev/null || true
|
||||
rm -f /usr/local/sbin/rc.u-navigator
|
||||
rm -rf /usr/local/emhttp/plugins/&name;
|
||||
rm -rf /boot/config/plugins/&name;
|
||||
|
||||
Reference in New Issue
Block a user