mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 18:44:06 +08:00
update 2026-10-20 17:03:51
This commit is contained in:
1 parent
ab408c1971
commit
57c1b033cd
278 files changed
+109653
-35
No files matched your search
@@ -453,8 +453,14 @@ function m_start_plugin() {
|
||||
+ ' fi\n'
|
||||
+ ' # Restart services so the newly installed files take effect immediately,\n'
|
||||
+ ' # avoiding the need for users to manually clear browser cache.\n'
|
||||
+ ' /etc/init.d/rpcd restart >> "$LOG" 2>&1\n'
|
||||
+ ' # Refresh the opkg status mtime so the just-registered package state is\n'
|
||||
+ ' # picked up correctly on the next opkg/apk invocation after the switch.\n'
|
||||
+ ' touch /usr/lib/opkg/status 2>/dev/null\n'
|
||||
+ ' # Restart uhttpd before rpcd: this cleanup runs as a child of rpcd, so\n'
|
||||
+ ' # restarting rpcd last avoids tearing down the bridge while uhttpd is\n'
|
||||
+ ' # still being reconfigured.\n'
|
||||
+ ' /etc/init.d/uhttpd restart >> "$LOG" 2>&1\n'
|
||||
+ ' /etc/init.d/rpcd restart >> "$LOG" 2>&1\n'
|
||||
+ ' ) &\n'
|
||||
+ 'else\n'
|
||||
+ ' echo "--- INSTALLATION FAILED! ---" >> "$LOG"\n'
|
||||
|
||||
Reference in new issue
Block a user