summaryrefslogtreecommitdiffstats
path: root/package/opkg/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/opkg/files')
-rw-r--r--package/opkg/files/opkg.conf4
-rw-r--r--package/opkg/files/postinst2
2 files changed, 6 insertions, 0 deletions
diff --git a/package/opkg/files/opkg.conf b/package/opkg/files/opkg.conf
new file mode 100644
index 000000000..f7f96fe2b
--- /dev/null
+++ b/package/opkg/files/opkg.conf
@@ -0,0 +1,4 @@
+src snapshots http://downloads.openwrt.org/snapshots/$S/packages
+dest root /
+dest ram /tmp
+lists_dir ext /var/opkg-lists
diff --git a/package/opkg/files/postinst b/package/opkg/files/postinst
new file mode 100644
index 000000000..c47974450
--- /dev/null
+++ b/package/opkg/files/postinst
@@ -0,0 +1,2 @@
+#!/bin/sh
+ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"