diff options
Diffstat (limited to 'over/usr/libexec')
-rwxr-xr-x | over/usr/libexec/cydia_/fstab.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/over/usr/libexec/cydia_/fstab.sh b/over/usr/libexec/cydia_/fstab.sh new file mode 100755 index 000000000..0414389c3 --- /dev/null +++ b/over/usr/libexec/cydia_/fstab.sh @@ -0,0 +1,9 @@ +#!/usr/libexec/cydia_/bash +export PATH=/usr/libexec/cydia_ + +if grep -Ew 'noexec|ro' /etc/fstab >/dev/null; then + sed -i -e 's/\<ro\>/rw/;s/,noexec\>//' /etc/fstab + exit 1 +else + exit 0 +fi |