Changeset View
Changeset View
Standalone View
Standalone View
contrib/init/bitcoind.openrc
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | if ! grep -qs '^rpcpassword=' "${BITCOIND_CONFIGFILE}" ; then | ||||
eerror "" | eerror "" | ||||
eerror "This password is security critical to securing wallets " | eerror "This password is security critical to securing wallets " | ||||
eerror "and must not be the same as the rpcuser setting." | eerror "and must not be the same as the rpcuser setting." | ||||
eerror "You can generate a suitable random password using the following" | eerror "You can generate a suitable random password using the following" | ||||
eerror "command from the shell:" | eerror "command from the shell:" | ||||
eerror "" | eerror "" | ||||
eerror "bash -c 'tr -dc a-zA-Z0-9 < /dev/urandom | head -c32 && echo'" | eerror "bash -c 'tr -dc a-zA-Z0-9 < /dev/urandom | head -c32 && echo'" | ||||
eerror "" | eerror "" | ||||
eerror "It is also recommended that you also set alertnotify so you are " | |||||
eerror "notified of problems:" | |||||
eerror "" | |||||
eerror "ie: alertnotify=echo %%s | mail -s \"Bitcoin Alert\"" \ | |||||
"admin@foo.com" | |||||
eerror "" | |||||
return 1 | return 1 | ||||
fi | fi | ||||
} | } |