Skip to content

Commit 1a12226

Browse files
authored
Fix custom script not running on AP start
1 parent f7217ce commit 1a12226

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routertools

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ trap 'trap_ctl' SIGINT SIGTERM
4141

4242
# Initialize variables and language setting for compatibility
4343
LANG=C
44-
version="2.0.1"
44+
version="2.0.1a"
4545
error_count=0
4646
crit_count=0
4747
crit_add=0
@@ -2426,6 +2426,7 @@ restart_services(){
24262426

24272427
checksu || crit_error "You must be root to restart services!"
24282428
echo "Restarting important services"
2429+
local i
24292430
for i in $important_services; do
24302431
echo "Restarting service $i"
24312432
systemctl restart "$i" || error "Service $i failed to start"

0 commit comments

Comments
 (0)