Shebang Trick

From The iPhone Wiki
Revision as of 22:31, 17 February 2013 by Http (talk | contribs) (initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following command has been used in the application that initially gets installed when applying the evasi0n jailbreak:

#!/bin/launchctl submit -l remount -o /var/mobile/Media/mount.stdout -e /var/mobile/Media/mount.stderr -- /sbin/mount -v -t hfs -o rw /dev/disk0s1s1

This is the only content of this app. The above file contents tell the kernel to execute launchctl with those specific arguments.

References