init.d 서비스 등록하는법 예를 들어서 macchanger 를 service 에 등록하자. #vi mac #!/bin/bash# chkconfig: 2345 90 90 # description: test servicecase "$1" in start) /usr/local/bin/macchanger -m 00:00:00:00:00:00 eth0 --> mac 변경 ;; stop) /usr/local/bin/macchanger --random eth0 --> mac random ;; *) echo "Usage {start|stop}" exit 1 ;;esacexit 0 # chmod 755 mac# mv mac /etc/init.d/ # chkconfig --add mac# chkconfig mac on..