summaryrefslogtreecommitdiff
path: root/pcr/bitcoin-daemon/bitcoin-daemon.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-29 01:39:06 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-29 01:39:06 -0500
commit0220842121c5fa8ffac398aa03ae2dd0600f3414 (patch)
treee60f7464d7b9b0d60acb4394648b8fc3b3a347a6 /pcr/bitcoin-daemon/bitcoin-daemon.install
parentdae971ac95e073d00717b164371b0f2658e43ec4 (diff)
Removing packages. This packages are in community repo
Diffstat (limited to 'pcr/bitcoin-daemon/bitcoin-daemon.install')
-rw-r--r--pcr/bitcoin-daemon/bitcoin-daemon.install20
1 files changed, 0 insertions, 20 deletions
diff --git a/pcr/bitcoin-daemon/bitcoin-daemon.install b/pcr/bitcoin-daemon/bitcoin-daemon.install
deleted file mode 100644
index 5b2ffec92..000000000
--- a/pcr/bitcoin-daemon/bitcoin-daemon.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_install() {
- echo "==> Creating the bitcoin user…"
- groupadd -g 8333 bitcoin
- useradd -d /var/lib/bitcoin-daemon -g 8333 -u 8333 -s /bin/false -N bitcoin
-
- pw="$RANDOM$RANDOM$RANDOM"
- echo "==> Setting the default RPC password to $pw"
- echo "rpcpassword=$pw" >> /var/lib/bitcoin-daemon/bitcoin.conf
-
- chown 8333:8333 /var/lib/bitcoin-daemon/bitcoin.conf
- chmod 400 /var/lib/bitcoin-daemon/bitcoin.conf
- echo "==> You can add bitcoind to your DAEMONS array in rc.conf."
-}
-
-post_remove() {
- echo "==> Deleting the bitcoin user…"
- groupdel bitcoin
- userdel bitcoin
- echo "==> Your configuration file and wallet is still in /opt/bitcoin-daemon."
-}