Skip to content

Commit

Permalink
remove dependency on GLIBC
Browse files Browse the repository at this point in the history
  • Loading branch information
mihakralj committed Oct 28, 2023
2 parents 360d5db + 73fb4b0 commit 0729f85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
env:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
run: |
go build -ldflags "-s -w -X cmd.Version=${{ env.VERSION }}" -o ./opnsense-linux
Expand Down
5 changes: 0 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,19 @@
- **`set <xpath> [value] [(attribute)]`**: Adds a new branch, value and/or attribute
- **`set <xpath> [value] [(attribute)] -d`**: Deletes branch, value and/or attribute
- **`discard [<xpath>]`**: Discards a value (or all changes) in the 'staging.xml'

- **`commit`**: Moves staging.xml to active 'config.xml'

- **`export [<source.xml>] [<target.xml>]`**: Extracts a patch file
- **`import [patch.xml]`**: Reads provided XML patch and injects it into 'staging.xml'

- **`backup [<backup.xml>]`**: Lists available backup configs or displays a specific backup
- **`restore [<backup.xml>]`**: Restores config.xml from a specific backup.xml. (alias: `load`)
- **`save [<file.xml>]`**: Creates a new /conf/backup/file.xml
- **`delete <backup.xml>`**: Deletes a specific backup.xml.
- **`delete age [days]`**: Deletes all backups older than specified days
- **`delete keep [count]`**: Keeps specified number of backups and deletes the rest
- **`delete trim [count]`**: Deletes number of the oldest backups

- **`sysinfo [<xpath>]`**: Retrieves system information from the firewall
- **`run <service> <command>`**: Executes commands on OPNsense.


### Flags

- **`--target (-t)`**: Sets the target OPNsense in the form of `user@hostname[:port]`.
Expand Down

0 comments on commit 0729f85

Please sign in to comment.