Skip to content

luci-app-smart-reboot: add LuCI frontend for smart-reboot#8328

Open
minicom365 wants to merge 1 commit intoopenwrt:masterfrom
minicom365:luci-app-smart-reboot
Open

luci-app-smart-reboot: add LuCI frontend for smart-reboot#8328
minicom365 wants to merge 1 commit intoopenwrt:masterfrom
minicom365:luci-app-smart-reboot

Conversation

@minicom365
Copy link

This adds LuCI support for smart-reboot.

Features

  • Enable/disable toggle
  • Reboot time input (HH:MM)
  • Interface selection (including select-all mode)
  • Last automatic reboot status display
  • Idle sampling / threshold settings
  • Built-in i18n catalogs for 18 languages

i18n Languages

ko, ja, zh_Hans, zh_Hant, de, fr, es, it, pt_BR, ru, uk, vi, th, id, tr, pl, nl, ar

Testing

  • OpenWrt 23.05-based buildroot
  • Target: ipq806x/generic
  • LuCI page render / save / service interaction verified

Dependency

Signed-off-by: minicom365 3387910@naver.com

@github-actions

This comment has been minimized.

@minicom365 minicom365 force-pushed the luci-app-smart-reboot branch 2 times, most recently from 999d37f to 6c8caf4 Compare February 17, 2026 02:28
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@minicom365 minicom365 force-pushed the luci-app-smart-reboot branch 3 times, most recently from 46e1e52 to 8fd2331 Compare February 17, 2026 03:47
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Add LuCI UI for configuring smart-reboot.

- Enable/disable toggle and HH:MM reboot time input
- Interface selection with select-all option
- Show last automatic reboot timestamp
- Provide i18n catalogs for 18 languages

Signed-off-by: 최민 <3387910@naver.com>
@minicom365 minicom365 force-pushed the luci-app-smart-reboot branch from 8fd2331 to 1682278 Compare February 17, 2026 05:31
@github-actions
Copy link

Warning

Some formality checks failed.

Consider (re)reading submissions guidelines.

Failed checks

Issues marked with an ❌ are failing checks.

Commit 1682278

  • 🔶 Author name (최민) seems to be a nickname or an alias
  • 🔶 Committer name (최민) seems to be a nickname or an alias

For more details, see the full job log.

Something broken? Consider providing feedback.

Copy link
Author

@minicom365 minicom365 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented all suggested ucode API replacements in smart-reboot-check.

  • replaced the lock shell command with fs.open() + file.lock()/lock("u") and a cleanup helper
  • removed every system("lock -u …") occurrence, now using the native handle
  • swapped system("sleep …") for the builtin sleep(milliseconds) function

These changes appear in the new commits on both the local repo and the packages branch (see commit c41ab4e6f on the packages PR). All existing review threads can be considered resolved. Thanks for the pointers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant