Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Minor typo and clarification. #135

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package/usr/local/bin/hassbian-config
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ function show-suite-long-info {
function check-permission {
if (( $EUID != 0 ))
then
echo "Error: hassbian-config must be run as root (with sudo) for this to be possible"
echo "Error: hassbian-config must be run as root (with sudo) for this to be possible. Try 'sudo $0'"
exit 1
fi
}

function share-log {
echo "This will put the output from your last operation on hastebin."
echo "This will put the output from your last operation on Hastebin.com ."
echo "This could include sensitive informastion."
echo "If you are unsure about what it contains, you can rin 'hassbian-config log' to check."
read -p "Do you want to crate an hastebin link? [N/y] : " RESPONCE
if [ "$RESPONCE" == "y" ] || [ "$RESPONCE" == "Y" ]; then
echo "If you are unsure about what it contains, you can run 'hassbian-config log' to check."
read -p "Do you want to create an Hastebin link? [N/y] : " RESPONSE
if [ "$RESPONSE" == "y" ] || [ "$RESPONSE" == "Y" ]; then
echo ""
a=$(cat $LOGFILE); curl -X POST -s -d "$a" https://hastebin.com/documents | awk -F '"' '{print "https://hastebin.com/"$4}'
exit 1
Expand Down