2 Commits

Author SHA1 Message Date
Desert Gamer
38541a8b8f
Update add-iptag.sh
refactor(script): optimize code structure and reduce size

- Consolidate status check functions into single check_status_changed
- Unify tag update logic into single update_tags function
- Optimize IP validation and CIDR checking
- Remove duplicate code and redundant functions
- Reduce system calls and improve performance
- Simplify conditional logic

BREAKING CHANGE: Function names and parameters have been changed
2025-03-31 16:54:42 +03:00
Desert Gamer
8677864507
Create add-iptag.sh
feat: Major update of IP-Tag script

- Renamed script to add-iptag.sh
- Added support for VM IP tagging
- Added service existence check
- Added configuration migration from old path
- Added update functionality for existing installations
- Fixed status check interval parameter
- Improved error handling
- Updated installation path structure
2025-03-31 16:43:47 +03:00