
몇 달 전에 프로그램을 설치했는데, 내가 설치한 시작 옵션이 있었습니다. 나중에 프로그램을 제거하기로 결정했는데 제거한 후에도 시작 스크립트나 항목이 남아 있는 것 같습니다.... 그리고 몇 초마다 시작하려고 합니다.
이 항목을 어떻게 제거할 수 있나요?
콘솔에서 가져온 내용은 다음과 같습니다.
$ com.apple.launchd[1] (com.jft.PdaNetMac[24476]): Exited with exit code: 1
$ com.apple.launchd[1] (com.jft.PdaNetMac): Throttling respawn: Will start in 10 second
답변1
이는 실제로 launchd가 찾는 표준 위치입니다. 홈 디렉토리의 위치와 루트 디렉토리의 위치를 확인하십시오.
파일을 찾을 수 없으면 터미널에서 다음을 시도해 볼 수도 있습니다.
$ launchctl remove com.jft.PdaNetMac
시작된 모든 작업 목록을 보려면 다음 안내를 따르세요.
$ launchctl list
PID Status Label
78960 - 0x7fe25c1052f0.anonymous.launchctl
78923 - 0x7fe25c008e40.anonymous.pppd
78922 - 0x7fe25c007e50.anonymous.pppd
78841 - 0x7fe25ae0c470.anonymous.Google Chrome H
78704 - 0x7fe25c006c90.anonymous.Google Chrome H
84037 - 0x7fe25ac258c0.anonymous.dbfseventsd
31909 - 0x7fe25c0081c0.anonymous.Google Chrome H
25351 - [0x0-0x1e51e5].com.skype.skype
...
자세한 내용을 보려면 man launchd
및 를 참조하세요 man launchctl
.
답변2
다음 위치를 확인하세요 ~/Library/LaunchDaemons, ~/Library/LaunchAgents,/Library/LaunchDaemons,/Library/LaunchAgents/,/System/Library/LaunchDaemons/ 및 /System/Library/LaunchAgents 그러면 파일이 있을 가능성이 높습니다. 해당 디렉토리 중 하나에 com.jft.PdaNetMac이라는 이름이 지정됩니다. 휴지통으로 옮기고 다시 시작하면 됩니다.
답변3
PdaNet맥현재 다음과 같은 제거 스크립트가 함께 제공됩니다.
sudo rm /System/Library/LaunchDaemons/com.jft.PdaNetMac.plist
sudo rm -R /System/Library/Extensions/PdaNetDrv.kext
sudo rm -R /Applications/PdaNetMac.app
sudo rm ~/PdaNetUninstall.sh
echo "PdaNet has been uninstalled, please reboot your computer"
따라서 launchd 속성 목록은 /System/Library/LaunchDaemons/
. 커널 확장도 제거해야 할 수도 있습니다.