Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install openwrt, fix issue #25 #83

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

xiagw
Copy link
Contributor

@xiagw xiagw commented Dec 7, 2024

  • Refactor install-release.sh to improve error handling and streamline checks
  • Add OpenWrt support to install-release.sh

xiagw added 2 commits December 7, 2024 20:40
…checks

- Changed exit calls to return statements for better control flow.
- Updated user and OS checks to enhance script robustness.
- Improved network request handling for fetching release versions.
- Enhanced readability and maintainability of the code.
- Implemented detection for OpenWrt systems, enhancing compatibility.
- Updated package management commands for OpenWrt using 'opkg'.
- Added installation and service management for Xray on OpenWrt, including init script creation.
- Improved error handling for unsupported operating systems and architectures.
- Enhanced logging setup for Xray service on OpenWrt.
@xiagw xiagw changed the title install openwrt install openwrt, fix issue #25 Dec 7, 2024
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