diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 05:07:26 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 05:07:26 -0300 |
commit | 0ff008e3c9dcc5ef088f481dfff3dcd121575598 (patch) | |
tree | d6f6cf5d6939e1f030a48d3711d3606570afd08f /social/bitcoin-daemon/bitcoin-daemon.install | |
parent | ed9d1c12bbfcf9cb8b3d53e886edb679df372640 (diff) |
move some packages from [social] to [pcr] and remove unused [social]
Diffstat (limited to 'social/bitcoin-daemon/bitcoin-daemon.install')
-rw-r--r-- | social/bitcoin-daemon/bitcoin-daemon.install | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/social/bitcoin-daemon/bitcoin-daemon.install b/social/bitcoin-daemon/bitcoin-daemon.install deleted file mode 100644 index 5b2ffec92..000000000 --- a/social/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." -} |