iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
various fixes
[distro-setup]
/
filesystem
/
usr
/
local
/
bin
/
bitcoinon
diff --git a/filesystem/usr/local/bin/bitcoinon
b/filesystem/usr/local/bin/bitcoinon
new file mode 100755
(executable)
index 0000000..
d62e413
--- /dev/null
+++ b/
filesystem/usr/local/bin/bitcoinon
@@ -0,0
+1,4
@@
+#!/bin/bash
+[[ $EUID == 0 ]] || exec sudo "${BASH_SOURCE[0]}"
+
+systemctl start bitcoind