asus ac-68p router entware-ng profile .bashrc 설정하기
기본 쉘이 bash가 아니다. bash로 설정을 했다면 홈 폴더에 .bashrc 만들어서 해주면 되고 아니면 /opt/etc/profile 에 설정해 주면 되는데 .bashrc의 경우 홈폴더가 /tmp에 있다보니 껐다키면 사라진다. 하여, 나같은 경우엔 /opt/etc/.bashrc를 만들어주고 profile에 아래와 같이 설정하였다. # bash .bashrc[ ! -f /tmp/home/root/.bashrc ] && ln -s /tmp/mnt/System/entware-ng.arm/etc/.bashrc /tmp/home/root/.bashrc
카테고리 없음
2018. 1. 7. 11:51
python phantomjs 자식 프로세스 안죽는 문제 해결
import signal driver.service.process.send_signal(signal.SIGTERM) # kill the specific phantomjs child proc driver.quit() # quit the node proc 참조: https://stackoverflow.com/questions/44995042/phantomjs-raise-oserror-errno-9-bad-file-descriptor
카테고리 없음
2018. 1. 5. 13:32