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

Commit

Permalink
Fix misspellings. (#133)
Browse files Browse the repository at this point in the history
* Fix misspellings.

* Double quote to prevent globbing and word splitting.
  • Loading branch information
Cabalist authored and Landrash committed Mar 7, 2018
1 parent ef3fdf2 commit e1fc365
Show file tree
Hide file tree
Showing 29 changed files with 65 additions and 64 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The following scripts are currently included. You can view the documentation bel

***
## Raspbian Jessie
If this package is used with a Debian Jessie based distrbution then you need to uncomment the source repositores in `/etc/apt/sources.list`
If this package is used with a Debian Jessie based distribution then you need to uncomment the source repositories in `/etc/apt/sources.list`

```text
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
Expand Down
2 changes: 1 addition & 1 deletion docs/appdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $ source /srv/appdaemon/bin/activate
```
When you are done, type `exit` to return to the `pi` user.

To manually start AppDaemon, enter the AppDaemon virtual environment as described abowe, and then type this to start it:
To manually start AppDaemon, enter the AppDaemon virtual environment as described above, and then type this to start it:
```bash
$ appdaemon -c /home/homeassistant/appdaemon/
```
Expand Down
2 changes: 1 addition & 1 deletion docs/duckdns.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $ sudo hassbian-config install duckdns
## Additional info
Running as: `homeassistant`

If you choose to aslo generate SSL certificates with this you would need to add this under `http:` to your `configuration.yaml`
If you choose to also generate SSL certificates with this you would need to add this under `http:` to your `configuration.yaml`
```
ssl_certificate: /home/homeassistant/dehydrated/certs/YOURDOMAIN.duckdns.org/fullchain.pem
ssl_key: /home/homeassistant/dehydrated/certs/YOURDOMAIN.duckdns.org/privkey.pem
Expand Down
2 changes: 1 addition & 1 deletion docs/hassbian_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Optional flags:
- `-f | --force` This will force run an script. This is useful if you need to reinstall a package.
- `-D | --debug` This will output every comand to the console.

Other available comands:
Other available commands:
- `-V | --version` This will show you the installed version of `hassbian-config`.
- `-H | --help` Shows help for the tool, with all available commands.

Expand Down
6 changes: 3 additions & 3 deletions docs/homebridge.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
## Description
This script will install and configure Homebridge to be used with Home Assistant.
This will allow you to controll your home with Apple's HomeKit (Siri on iOS, OSX and AppleTV).
This will allow you to control your home with Apple's HomeKit (Siri on iOS, OSX and AppleTV).
By default all devices are hidden, and you will need to add som entries in your `customize.yaml` configuration.
You can learn more about this in the [Home Assistant for Homebridge repo.](https://github.com/home-assistant/homebridge-homeassistant#customization)

_NB!: This install script will fail resulting in your Pi to reboot, if you do not use an recomended level powersupply._
_NB!: This install script will fail resulting in your Pi to reboot, if you do not use an recommended level power supply._

## Installation
```
$ sudo hassbian-config install homebridge
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
4 changes: 2 additions & 2 deletions docs/libcec.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Description
**This scipt is currently brooken upstream since it currently doesn't build properly for Python >3.4**
**This script is currently broken upstream since it currently doesn't build properly for Python >3.4**
This script installs libcec and it dependencies. Further more this script symlinks the system wide packages to the Home Assistant venv so they can be used with Home Assistant.

## Installation
Expand All @@ -8,7 +8,7 @@ $ sudo hassbian-config install libcec
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/mariadb.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install mariadb
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/mosquitto.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install mosquitto
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
4 changes: 2 additions & 2 deletions docs/mssql.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Description
This script installs the tools needed to connect to a MS SQL databse and it's dependencies for use with the recorder component in Home Assistant. No database or database user is created during this setup and will need to be created manually.
This script installs the tools needed to connect to a MS SQL database and it's dependencies for use with the recorder component in Home Assistant. No database or database user is created during this setup and will need to be created manually.

## Installation
```
$ sudo hassbian-config install mssql
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install postgresql
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/razberry.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install razberry
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/samba.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install samba
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/tradfri.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install tradfri
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
2 changes: 1 addition & 1 deletion docs/webterminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $ sudo hassbian-config install webterminal
```

## Upgrade
No script avaiable, maybe you could write one?
No script available, maybe you could write one?
If so, add an PR here when you are done:
[homeassistant/hassbian-scripts](https://github.com/home-assistant/hassbian-scripts/pulls)

Expand Down
4 changes: 2 additions & 2 deletions make_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PACKAGE=$(grep package -i package/DEBIAN/control | cut -d ":" -f2 | tr -d [:spa
PACKAGENAME="${PACKAGE}_${VERSION}.deb"

if [ -f $PACKAGENAME ]; then
echo "Previous package exists. Deleting"
rm $PACKAGENAME
echo "Previous package exists. Deleting"
rm "$PACKAGENAME"
fi

echo "Building package $PACKAGE version $VERSION"
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/duckdns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function duckdns-show-short-info {
}

function duckdns-show-long-info {
echo "This script adds an cron job to auto uppdate you the WAN IP address for the defined domain."
echo "This script adds an cron job to auto update you the WAN IP address for the defined domain."
echo "This script can also generate SSL certificate for https with Let’s Encrypt."
}

Expand Down
12 changes: 6 additions & 6 deletions package/opt/hassbian/suites/files/mosquitto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ protocol websockets
#crlfile

# If you wish to control which encryption ciphers are used, use the ciphers
# option. The list of available ciphers can be optained using the "openssl
# option. The list of available ciphers can be obtained using the "openssl
# ciphers" command and should be provided in the same format as the output of
# that command.
# If unset defaults to DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2:@STRENGTH
Expand Down Expand Up @@ -254,7 +254,7 @@ protocol websockets

# When using PSK, the encryption ciphers used will be chosen from the list of
# available PSK ciphers. If you want to control which ciphers are available,
# use the "ciphers" option. The list of available ciphers can be optained
# use the "ciphers" option. The list of available ciphers can be obtained
# using the "openssl ciphers" command and should be provided in the same format
# as the output of that command.
#ciphers
Expand Down Expand Up @@ -360,7 +360,7 @@ protocol websockets
#crlfile

# If you wish to control which encryption ciphers are used, use the ciphers
# option. The list of available ciphers can be optained using the "openssl
# option. The list of available ciphers can be obtained using the "openssl
# ciphers" command and should be provided in the same format as the output of
# that command.
#ciphers
Expand Down Expand Up @@ -392,7 +392,7 @@ protocol websockets

# When using PSK, the encryption ciphers used will be chosen from the list of
# available PSK ciphers. If you want to control which ciphers are available,
# use the "ciphers" option. The list of available ciphers can be optained
# use the "ciphers" option. The list of available ciphers can be obtained
# using the "openssl ciphers" command and should be provided in the same format
# as the output of that command.
#ciphers
Expand Down Expand Up @@ -450,7 +450,7 @@ persistence_location /var/lib/mosquitto/
# where severity is one of D, E, W, N, I, M which are debug, error,
# warning, notice, information and message. Message type severity is used by
# the subscribe/unsubscribe log_types and publishes log messages to
# $SYS/broker/log/M/susbcribe or $SYS/broker/log/M/unsubscribe.
# $SYS/broker/log/M/subscribe or $SYS/broker/log/M/unsubscribe.
#
# The file destination requires an additional parameter which is the file to be
# logged to, e.g. "log_dest file /var/log/mosquitto.log". The file will be
Expand Down Expand Up @@ -569,7 +569,7 @@ password_file /etc/mosquitto/pwfile
#
#
# If is also possible to define ACLs based on pattern substitution within the
# topic. The patterns available for substition are:
# topic. The patterns available for substitution are:
#
# %c to match the client id of the client
# %u to match the username of the client
Expand Down
6 changes: 3 additions & 3 deletions package/opt/hassbian/suites/hassbian-script-dev.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash
function hassbian-script-dev-show-short-info {
echo "Uppdates scripts from the dev branch."
echo "Updates scripts from the dev branch."
}

function hassbian-script-dev-show-long-info {
echo "This scripts downloads new scripts directly from the dev branch on github."
echo "you can use this to be on the 'bleeding edge of the development of Hassbian.'"
echo "This is not recomended for daily use."
echo "This is not recommended for daily use."
}

function hassbian-script-dev-show-copyright-info {
echo "Original concept by Ludeeus <https://github.com/Ludeeus>"
echo "Original concept by Ludeeus <https://github.com/Ludeeus>"
}

function hassbian-script-dev-upgrade-package {
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/hassbian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function hassbian-show-long-info {

function hassbian-show-copyright-info {
echo "Original concept by Ludeeus <https://github.com/Ludeeus>."
echo "Modyfied by Landrash <https://github.com/Landrash>."
echo "Modified by Landrash <https://github.com/Landrash>."
}

function hassbian-upgrade-package {
Expand Down
8 changes: 4 additions & 4 deletions package/opt/hassbian/suites/homeassistant-dev.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
function homeassistant-dev-show-short-info {
echo "Home Assistant developement branch install script for Hassbian."
echo "Home Assistant development branch install script for Hassbian."
}

function homeassistant-dev-show-long-info {
echo "Installs Home Assistant from the developement branch from github onto this system."
echo "Installs Home Assistant from the development branch from github onto this system."
}

function homeassistant-dev-show-copyright-info {
Expand All @@ -15,7 +15,7 @@ function homeassistant-dev-install-package {
homeassistant-dev-show-short-info
homeassistant-dev-show-copyright-info

echo "Stoping Home Assistant"
echo "Stopping Home Assistant"
systemctl stop [email protected]
sync

Expand Down Expand Up @@ -49,7 +49,7 @@ validation=$(pgrep -x hass)
if [ ! -z "${validation}" ]; then
echo
echo -e "\\e[32mInstallation done..\\e[0m"
echo "Your Home Assistant development branch installation is running at $ip_address:8123 or if prefered http://hassbian.local:8123"
echo "Your Home Assistant development branch installation is running at $ip_address:8123 or if preferred http://hassbian.local:8123"
echo
else
echo
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/homeassistant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ validation=$(pgrep -x hass)
if [ ! -z "${validation}" ]; then
echo
echo -e "\\e[32mInstallation done..\\e[0m"
echo "Your Home Assistant installation is running at $ip_address:8123 or if prefered http://hassbian.local:8123"
echo "Your Home Assistant installation is running at $ip_address:8123 or if preferred http://hassbian.local:8123"
echo "To continue have a look at https://home-assistant.io/getting-started/configuration/"
echo
echo
Expand Down
34 changes: 17 additions & 17 deletions package/opt/hassbian/suites/homebridge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ function homebridge-show-short-info {

function homebridge-show-long-info {
echo "Installs and configure Homebridge for Home Assistant"
echo "This will allow you to use HomeKit enabled devices to control Home Assistant."
echo "This will allow you to use HomeKit enabled devices to control Home Assistant."
}

function homebridge-show-copyright-info {
echo "Original concept by Ludeeus <https://github.com/ludeeus>"
echo "Disclaimer: Some parts of this script is inspired by Dale Higgs <https://github.com/dale3h>"
echo "Original concept by Ludeeus <https://github.com/ludeeus>"
echo "Disclaimer: Some parts of this script is inspired by Dale Higgs <https://github.com/dale3h>"
}

function homebridge-install-package {
Expand Down Expand Up @@ -80,7 +80,7 @@ cat > /home/homebridge/.homebridge/config.json <<EOF
"host": "${HOMEASSISTANT_URL}",
"password": "${HOMEASSISTANT_PASSWORD}",
"supported_types": ["automation", "binary_sensor", "climate", "cover", "device_tracker", "fan", "group", "input_boolean", "light", "lock", "media_player", "remote", "scene", "script", "sensor", "switch", "vacuum"],
"default_visibility": "hidden"
"default_visibility": "hidden"
}
]
}
Expand Down Expand Up @@ -112,18 +112,18 @@ sudo systemctl enable homebridge.service
sudo systemctl start homebridge.service

if [ "$SAMBA" == "y" ] || [ "$SAMBA" == "Y" ]; then
echo "Adding configuration to Samba..."
sudo smbpasswd -a homebridge -n
echo "[homebridge]" | tee -a /etc/samba/smb.conf
echo "path = /home/homebridge/.homebridge" | tee -a /etc/samba/smb.conf
echo "writeable = yes" | tee -a /etc/samba/smb.conf
echo "guest ok = yes" | tee -a /etc/samba/smb.conf
echo "create mask = 0644" | tee -a /etc/samba/smb.conf
echo "directory mask = 0755" | tee -a /etc/samba/smb.conf
echo "force user = homebridge" | tee -a /etc/samba/smb.conf
echo "" | tee -a /etc/samba/smb.conf
echo "Restarting Samba service"
sudo systemctl restart smbd.service
echo "Adding configuration to Samba..."
sudo smbpasswd -a homebridge -n
echo "[homebridge]" | tee -a /etc/samba/smb.conf
echo "path = /home/homebridge/.homebridge" | tee -a /etc/samba/smb.conf
echo "writeable = yes" | tee -a /etc/samba/smb.conf
echo "guest ok = yes" | tee -a /etc/samba/smb.conf
echo "create mask = 0644" | tee -a /etc/samba/smb.conf
echo "directory mask = 0755" | tee -a /etc/samba/smb.conf
echo "force user = homebridge" | tee -a /etc/samba/smb.conf
echo "" | tee -a /etc/samba/smb.conf
echo "Restarting Samba service"
sudo systemctl restart smbd.service
fi

echo "Checking the installation..."
Expand All @@ -144,7 +144,7 @@ else
echo -e "\\e[31mAborting..."
echo -e "\\e[0mIf you have issues with this script, please say something in the #devs_hassbian channel on Discord."
echo
return 1
return 1
fi
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/libcec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if [ ! -z "${validation}" ]; then
echo -e "\\e[32mInstallation done..\\e[0m"
echo
echo "To continue have a look at https://home-assistant.io/components/hdmi_cec/"
echo "It's recomended that you restart your Pi before continuing with testing libcec."
echo "It's recommended that you restart your Pi before continuing with testing libcec."
echo
else
echo
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/mosquitto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if [ ! -z "${validation}" ]; then
echo
echo -e "\\e[32mInstallation done.\\e[0m"
echo
echo "Your MQTT broker is running at $ip_address:1883 or if prefered hassbian.local:1883"
echo "Your MQTT broker is running at $ip_address:1883 or if preferred hassbian.local:1883"
echo ""
echo "To continue have a look at https://home-assistant.io/docs/mqtt/"
echo "For more information see this repo:"
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/mssql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function mssql-show-short-info {
}

function mssql-show-long-info {
echo "Installs the MS SQL database engine and dependecies for use with the recorder component in Home Assistant."
echo "Installs the MS SQL database engine and dependencies for use with the recorder component in Home Assistant."
}

function mssql-show-copyright-info {
Expand Down
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/postgresql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function postgresql-show-short-info {
}

function postgresql-show-long-info {
echo "Installs the PostgreSQL database engine and dependecies for use with the recorder component in Home Assistant."
echo "Installs the PostgreSQL database engine and dependencies for use with the recorder component in Home Assistant."
}

function postgresql-show-copyright-info {
Expand Down
Loading

0 comments on commit e1fc365

Please sign in to comment.