citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

bcli (159B)


      1 #!/bin/sh
      2 if [ $(hostname) == "monad" ]
      3 then
      4 	exec bitcoin-cli -rpcuser=rpcuser -rpcpassword=rpcpass -datadir=/zbig/bitcoin "$@"
      5 else
      6 	ssh monad bcli "$@"
      7 fi
      8