com.apple.launchd에서 시작 항목 제거 나 항목을

몇 달 전에 프로그램을 설치했는데 설치 한 시작 옵션이있었습니다. 나중에 프로그램을 제거하기로 결정했지만 시작 스크립트 나 항목을 제거한 후에도 시작 스크립트 나 항목을 남겨둔 것으로 보입니다. 몇 초마다 시작하려고 시도합니다.

이 항목을 어떻게 제거 할 수 있습니까?

여기 콘솔에서


$ 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



답변

이것들은 실제로 시작된 표준 위치입니다. 홈 디렉토리와 루트 위치를 확인하십시오.

파일을 찾을 수 없으면 터미널에서 다음을 시도 할 수도 있습니다.

$ 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.


답변

~ / Library / LaunchDaemons, ~ / Library / LaunchAgents, / Library / LaunchDaemons, / Library / LaunchAgents /, / System / Library / LaunchDaemons / 및 / System / Library / LaunchAgents 위치를 확인하십시오. 그러면 파일이 더있을 것입니다 해당 디렉토리 중 하나에 com.jft.PdaNetMac이라는 이름이 지정됩니다. 휴지통으로 옮기고 다시 시작하면됩니다.


답변

PdaNetMac에는 현재 다음과 같은 제거 스크립트가 제공됩니다.

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"

시작된 속성 목록은에 /System/Library/LaunchDaemons/있습니다. 커널 확장도 제거해야합니다.


답변