This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.macports.wireshark-chmodbpf</string> | |
<key>Program</key> | |
<string>/bin/sh</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mv /bin/sh /bin/sh.0 | |
#files rearranged slightly in Yosemite. | |
#mv /usr/share/man/man1/sh.1.gz /usr/share/man/man1/sh.1.gz.0 | |
rm /usr/share/man/man1/sh.1 | |
ln -s /opt/local/bin/dash /bin/sh | |
ln -s /opt/local/man/man1/dash.1.gz /usr/share/man/man1/sh.1.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$(id -u)" -ne 0 ]; then | |
SELF=`echo $0 | sed -ne 's|^.*/||p'` | |
echo "$SELF must be run as root." 1>&2 | |
echo "try: sudo $SELF" 1>&2 | |
exit 1 | |
fi | |
PLIST=/Library/LaunchDaemons/com.wolfereiter.vpnc.plist | |
CONF=`grep \.conf $PLIST | sed 's/<[^>]*>//g' | tr -d " \t"` | |
GATEWAY=`grep gateway $CONF` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$(id -u)" -ne 0 ]; then | |
SELF=`echo $0 | sed -ne 's|^.*/||p'` | |
echo "$SELF must be run as root." 1>&2 | |
echo "try: sudo $SELF" 1>&2 | |
exit 1 | |
fi | |
PLIST=/Library/LaunchDaemons/com.wolfereiter.vpnc.plist | |
CONF=`grep \.conf $PLIST | sed 's/<[^>]*>//g' | tr -d " \t"` | |
GATEWAY=`grep gateway $CONF` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | |
/var/log/vpnc/*.log 644 3 1000 * J |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>Label</key> | |
<string>com.wolfereiter.vpnc</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$(id -u)" -ne 0 ]; then | |
SELF=`echo $0 | sed -ne 's|^.*/||p'` | |
echo "$SELF must be run as root." 1>&2 | |
echo "try: sudo $SELF" 1>&2 | |
exit 1 | |
fi | |
rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane | |
rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>Label</key> | |
<string>org.macports.vpnc</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#backup a disk by snapshot to S3. | |
param | |
( | |
[string] $path, #directry to clean of old files | |
[int] $diskNumber, | |
[string] $ec2VolumeId, #volumn arn in ec2 | |
[string] $description, | |
[int] $days = 2 | |
); |
OlderNewer