![]() However, when I create a script and try to run it through JSS, I get this error: #!/bin/sh If I run these commands separately on terminal on a computer, it works perfectly. ![]() Sudo diskutil eraseVolume JHFS+ Volume_name /dev/disk0s4 ![]() #erase and reformat Volume_name partition I have a simple script that erases a volume and them sets the permissions so that anyone can access the drive: #!/bin/sh
0 Comments
Leave a Reply. |