2014/03/01

OS X 10.9.2: mv-noneed-daemon

# 06-mv-noneed-daemon.sh

#!/bin/bash
# OS X 10.9.2

home=$HOME
d=$home/backup-daemon
mkdir $d

sudo mv /System/Library/LaunchDaemons/com.apple.InternetSharing.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.racoon.plist $d
sudo mv /System/Library/LaunchDaemons/exec.plist $d

# /usr/libexec/rlogind
sudo mv /System/Library/LaunchDaemons/login.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.comsat.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.eppc.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.uucp.plist $d
sudo mv /System/Library/LaunchDaemons/ntalk.plist $d

sudo mv /System/Library/LaunchDaemons/com.apple.msrpc* $d
sudo mv /System/Library/LaunchDaemons/com.apple.screensharing.plist $d
sudo mv /System/Library/LaunchDaemons/ssh.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.xsan.plist
sudo mv /System/Library/LaunchDaemons/com.apple.xsanmgrd.plist $d

sudo mv /System/Library/LaunchDaemons/tftp.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.kdumpd.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist $d

sudo mv /System/Library/LaunchDaemons/finger.plist $d
sudo mv /System/Library/LaunchDaemons/ftp.plist $d
sudo mv /System/Library/LaunchDaemons/telnet.plist $d
sudo mv /System/Library/LaunchDaemons/org.cups.cupsd.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.RemoteDesktop.PrivilegeProxy.plist $d

sudo mv /System/Library/LaunchDaemons/com.apple.netbiosd.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.smbd.plist $d

sudo mv /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist $d
sudo mv /System/Library/LaunchDaemons/org.apache.httpd.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.nfsd.plist  $d
sudo mv /System/Library/LaunchDaemons/com.apple.nfsconf.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.webdavfs_load_kext.plist $d
sudo mv /System/Library/LaunchDaemons/com.apple.bnepd.plist $d

# man rshd
sudo mv /System/Library/LaunchDaemons/shell.plist $d

0 件のコメント: