Skip to content

Commit

Permalink
chore: cleanup init script
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Aug 22, 2021
1 parent 954e957 commit 3584832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/etc/init.d/unblockneteasemusic
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ is_enabled() {
config_padding_arg() {
local value
config_get value "$1" "$2" $4
[ -n "$value" ] && export $(eval echo "$2")="$3 $value"
[ -n "$value" ] && export "$2"="$3 $value"
}

append_param_env() {
local value
config_get value "$1" "$2"
[ -n "$value" ] && export $(eval echo "$3")="$value"
[ -n "$value" ] && export "$3"="$value"
}

uci_get_by_name() {
Expand Down

0 comments on commit 3584832

Please sign in to comment.