Skip to content

Commit

Permalink
avoid unneeded olsrd restart on bootup in setupscript
Browse files Browse the repository at this point in the history
  • Loading branch information
pocki80 authored Jan 15, 2020
1 parent 359bff0 commit 997e962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wizard-run
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ sed -n "/^load ()/,/^}/p" $olsrdv1wizard >>func.sh
source func.sh
load >>$log 2>>$log
rm -f func.sh
$olsrd4init restart >>$log 2>>$log
$olsrd6init restart >>$log 2>>$log
[ $(pgrep -x olsrd) ] || $olsrd4init start >>$log 2>>$log
[ $(pgrep -x olsrd6) ] || $olsrd6init start >>$log 2>>$log
echo "Finished olsrdsetupscriptfile script... $(date +%Y-%m-%d/%H:%M:%S.%N)" >>$log
exit 0
ENDSCRIPTCONTENT
Expand Down

0 comments on commit 997e962

Please sign in to comment.