summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-07-11 23:18:30 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:06 +0000
commitaa5e5990e17da617b0e95c962e86924bc9b99b50 (patch)
tree95410c0b8ebee371ceae2140846b5926ebc4665b /Library
parenta30c20bd2fa64ce4459d95d39d64b729563ed289 (diff)
Stash folders were supposed to be named, added support for Pwnage 2.0, bootup sysctl -w hack, just deleting the stupid package caches, and resurrected some of the Source editor.
Diffstat (limited to 'Library')
-rw-r--r--Library/com.saurik.Cydia.Firmware12
-rwxr-xr-xLibrary/move.sh2
-rwxr-xr-xLibrary/startup6
3 files changed, 7 insertions, 13 deletions
diff --git a/Library/com.saurik.Cydia.Firmware b/Library/com.saurik.Cydia.Firmware
deleted file mode 100644
index 6fdcf33..0000000
--- a/Library/com.saurik.Cydia.Firmware
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>Label</key>
- <string>com.saurik.Cydia.Firmware</string>
- <key>Program</key>
- <string>/usr/libexec/cydia/firmware.sh</string>
- <key>RunAtLoad</key>
- <true/>
-</dict>
-</plist>
diff --git a/Library/move.sh b/Library/move.sh
index f264dcd..0b9e09d 100755
--- a/Library/move.sh
+++ b/Library/move.sh
@@ -14,7 +14,7 @@ function mv_() {
src=$1
mkdir -p /var/stash
- dst=$(mktemp -d /var/stash/$(basename "${dir}").XXXXXX)
+ dst=$(mktemp -d /var/stash/$(basename "${src}").XXXXXX)
if [[ -e ${src} ]]; then
chmod --reference="${src}" "${dst}"
diff --git a/Library/startup b/Library/startup
new file mode 100755
index 0000000..b75654f
--- /dev/null
+++ b/Library/startup
@@ -0,0 +1,6 @@
+#!/bin/bash
+sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0 &>/dev/null
+/usr/libexec/cydia/firmware.sh
+for deb in /var/mobile/Media/Cydia/AutoInstall/*.deb; do
+ /usr/bin/dpkg -i "${deb}" && /bin/rm "${deb}"
+done