|
@@ -21,12 +21,13 @@ First, set the icon you wish to use like you always would (right-click, Get Info
|
21
|
21
|
|
22
|
22
|
cp /Volumes/TX-55/.VolumeIcon.icns /Users/thomas/Pictures/Icons/VolumeIcon.icns
|
23
|
23
|
|
24
|
|
-Next, we need to create a little shell script that copies this file again after it is lost on reboot:
|
|
24
|
+Next, we need to create a little shell script that copies this file again and sets the icon flag after they are lost on reboot:
|
25
|
25
|
|
26
|
26
|
vim /Users/thomas/bin/fixBootcamp.sh
|
27
|
27
|
|
28
|
28
|
#!/bin/sh
|
29
|
29
|
cp /Users/thomas/Pictures/Icons/VolumeIcon.icns /Volumes/TX-55/.VolumeIcon.icns
|
|
30
|
+ SetFile -a C /Volumes/TX-55
|
30
|
31
|
|
31
|
32
|
:wq
|
32
|
33
|
chmod a+x /Users/thomas/bin/fixBootcamp.sh
|