Office:mac v. X その2
■ このスレッドは過去ログ倉庫に格納されています
0072名称未設定
02/03/21 07:56ID:9TlCX9bdとりあえず
use textEdit to do this.
First Copy and paste this in a new document and save it as "OfficeBlock":
#!/bin/sh
/sbin/ipfw add 0 deny udp from any to any 2222
/sbin/ipfw add 0 deny tcp from any to any 3464
Then open a new document in text edit and copy and paste this and saveit as "StartupParameters.plist"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM
"file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>Description</key>
<string>port block</string>
<key>Messages</key>
<dict>
<key>start</key>
<string>Starting port block</string>
<key>stop</key>
<string>Stopping Port block</string>
</dict>
<key>OrderPreference</key>
<string>None</string>
<key>Provides</key>
<array>
<string>PortBlock</string>
</array>
<key>Requires</key>
<array>
<string>Network</string>
</array>
</dict>
</plist>
Then go in Macintosh HD (or the name you had given to your disk) then
go in "Library" and locate a folder named: "StartupItems", then create
a new folder in it called "OfficeBlock" and put the two text files,
"OfficeBlock" and "StartupParameters.plist" in it, restart your computer.
■ このスレッドは過去ログ倉庫に格納されています