Skip to content

Commit

Permalink
fix: fix shellcheck errors (#185)
Browse files Browse the repository at this point in the history
Fixes SC2317 in armbian module and
SC2086 in net module

Signed-off-by: Stephan Wendel <[email protected]>

Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan authored Dec 28, 2022
1 parent 5ee9474 commit efe1b68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ODROID_EXCEPTION="$(tr -d '\000' < /proc/device-tree/model | grep ODROID | grep
echo -e "\e[31m$(toilet -f big MainsailOS)\e[0m"
echo -e "Version $(cut -d ' ' -f3 /etc/mainsailos-release), based on \
\e[34mArmbian ${VERSION} ${DISTRIBUTION_CODENAME^}\e[0m $([[ ${BRANCH} == edge ]])"
echo -e "Running on \e[34m$(echo ${BOARD_NAME} | sed 's/Orange Pi/OPi/' | \
echo -e "Running on \e[34m$(echo "${BOARD_NAME}" | sed 's/Orange Pi/OPi/' | \
sed 's/NanoPi/NPi/' | sed 's/Banana Pi/BPi/')\e[0m with \e[34mLinux ${KERNELID}\e[0m\n"

# displaying status warnings
Expand Down
1 change: 0 additions & 1 deletion src/modules/net/filesystem/usr/local/bin/pwrsave-udev
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function check_rule {
if [ ! -f /etc/udev/rules.d/070-wifi-powersave.rules ]; then
echo -e "[ \e[31mERROR\e[0m ] Udev Rule for WiFi Powermanagement not found!"
help_msg
exit 1
fi
}

Expand Down

0 comments on commit efe1b68

Please sign in to comment.