summaryrefslogtreecommitdiff
path: root/over/usr/libexec/cydia_/fstab.sh
blob: 0414389c3d5f3dbc011d33f9e70d7a2bf0ad1f75 (plain)
1
2
3
4
5
6
7
8
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