Permalink
Browse files

updated itignore

  • Loading branch information...
1 parent e255aa0 commit 24abc6c1dbf9b6be854a97bc4642552914609aaf Ben D committed Jun 6, 2012
Showing with 1 addition and 26 deletions.
  1. +1 −1 .gitignore
  2. +0 −25 scripts/net
View
@@ -8,4 +8,4 @@ cache
*.swp
updatedns
.DS_Store
-mount_smb.sh
+mount_smb
View
@@ -1,25 +0,0 @@
-#!/bin/bash
-if [ $1 == on -o $1 == off ]; then
- networksetup -setairportpower en1 $1
- echo "Wifi turned" $1
-else
- b=$1
- b=${b:0:4}
- if [ $b == "name" ]; then
- text=$1
- text=${text:5}
- if [ ${#text} -ge 1 ]; then
- replace="\ "
- text=${text// /$replace}
- replace="\'"
- text=${text//\'/$replace}
- echo $text | xargs networksetup -setcomputername
- echo 'Computer name changed to '$text
- else
- echo 'You must provide a name'
- fi
- else
- echo 'Unknown option: '$b
- fi
-fi
-

0 comments on commit 24abc6c

Please sign in to comment.