Browse Source

fix(init): fix typo error

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 2 years ago
parent
commit
539428dcc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      root/etc/init.d/unblockneteasemusic

+ 1 - 1
root/etc/init.d/unblockneteasemusic

@@ -90,7 +90,7 @@ start_service() {
 	local update_time
 	config_get update_time "config" "update_time" "3"
 	sed -i "/$NAME/d" /etc/crontabs/root
-	echo -e "30 2 * * * /etc/init.d/unblockneteasemusic" >> "/etc/crontabs/root"
+	echo -e "30 2 * * * /etc/init.d/unblockneteasemusic restart" >> "/etc/crontabs/root"
 	! is_enabled "config" "auto_update" || echo -e "0 ${update_time} * * * $UNM_DIR/update.sh update_core" >> "/etc/crontabs/root"
 	/etc/init.d/cron restart