mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 12:45:13 +08:00
update 2026-05-13 14:44:23
This commit is contained in:
1 parent
cf85e35fe4
commit
3a3b6a8680
6 files changed
+35
-13
No files matched your search
@@ -475,7 +475,12 @@ function m_start_plugin() {
|
||||
+ ' uci set amlogic.config.amlogic_plugin_branch=\'lua\' 2>/dev/null\n'
|
||||
+ ' fi\n'
|
||||
+ ' uci commit amlogic 2>/dev/null\n'
|
||||
+ ' fi) &\n'
|
||||
+ ' 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'
|
||||
+ ' /etc/init.d/uhttpd restart >> "$LOG" 2>&1\n'
|
||||
+ ' ) &\n'
|
||||
+ 'else\n'
|
||||
+ ' echo "--- INSTALLATION FAILED! ---" >> "$LOG"\n'
|
||||
+ ' [ -f "$cfg_bak" ] && cp -f "$cfg_bak" "$cfg"\n'
|
||||
|
||||
Reference in new issue
Block a user