Nearly all you need to know is available here:
http://www.geisterstunde.org/drupal/?q=osx_routing
All I found is that $BUNDLE refers to /System/Library/SystemConfiguration/Kicker.bundle/ and the script should go in $BUNDLE/Contents/Resources - not $BUNDLE/Resources (the paths are a little mixed in the original article).