mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-12 17:34:34 -05:00
21 lines
384 B
Bash
Executable File
21 lines
384 B
Bash
Executable File
#!/bin/sh
|
|
## SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
##
|
|
## SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
# shellcheck disable=SC1090,SC1091
|
|
set -eu
|
|
|
|
cd ~/.electrumx
|
|
. electrumx.conf
|
|
. conf.d/cookie.conf
|
|
if test -r conf.d/electrumx.conf.local; then
|
|
. conf.d/electrumx.conf.local
|
|
fi
|
|
|
|
if test -z "${1-}"; then
|
|
set -- --help
|
|
fi
|
|
|
|
electrumx_rpc "${@}"
|