linux - Error running bash script in supervisor -
i have bash script makes work supervising network stuff, works great when run manually, when put in supervisor ifs , whiles not work, stops before of programming sentences, echos, running cat, more , other things work fine, in minute put if nothing else work there on. please give me tips, need run script supervisor.
thanks etan reisner, have fix problem, put here if else have same problem see why. problem simple (as usual) reading content of text files /sys/class/net/eth0/carrier , /sys/class/net/eth0/operstate detect when network cable plugged , unplugged , doing more
(i don't know why, because if ran script manually worked great) when executed in supervisor stopped execution there after first more
, changed cat
, it. haft day spent solve that. hope if gets kind of trouble find answer , way can solve problem fast. regards
Comments
Post a Comment