summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
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