iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes
[distro-setup]
/
filesystem
/
usr
/
local
/
bin
/
bitcoinoff
diff --git
a/filesystem/usr/local/bin/bitcoinoff
b/filesystem/usr/local/bin/bitcoinoff
index d9528735bd9d16eabd98d991b6516699af3f7179..c4d9907bca0042a43902d25697c09556d6794da4 100755
(executable)
--- a/
filesystem/usr/local/bin/bitcoinoff
+++ b/
filesystem/usr/local/bin/bitcoinoff
@@
-1,4
+1,7
@@
#!/bin/bash
[[ $EUID == 0 ]] || exec sudo "${BASH_SOURCE[0]}"
+if [[ -e /tmp/no-bitcoinoff ]]; then
+ exit 0
+fi
systemctl stop bitcoind