Skip to content

Commit

Permalink
Fix ShellCheck issues with substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
dave14305 committed Aug 8, 2023
1 parent bebc5a3 commit 434ca6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake-qos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Cake_Install(){
# Add to service-event-end
Init_UserScript "service-event-end"
sed -i '\~# CakeQOS-Merlin~d' /jffs/scripts/service-event-end
echo "if echo \"\$2\" | /bin/grep -q \"^${cakeqos}\"; then { sh ${SCRIPT_DIR}/${SCRIPT_NAME} \"\${2#${cakeqos}}\" & } ; fi # $SCRIPT_NAME_FANCY" >> /jffs/scripts/service-event-end
echo "if echo \"\$2\" | /bin/grep -q \"^cakeqos\"; then { sh ${SCRIPT_DIR}/${SCRIPT_NAME} \"\${2#cakeqos}\" & } ; fi # $SCRIPT_NAME_FANCY" >> /jffs/scripts/service-event-end
echo "[ \"\$2\" = \"qos\" ] && ${SCRIPT_DIR}/${SCRIPT_NAME} statsupdate # $SCRIPT_NAME_FANCY" >> /jffs/scripts/service-event-end

# Add to services-start
Expand Down

0 comments on commit 434ca6c

Please sign in to comment.