summaryrefslogtreecommitdiff
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/postinst1
2 files changed, 1 insertions, 4 deletions
diff --git a/package/opkg/files/opkg.conf b/package/opkg/files/opkg.conf
deleted file mode 100644
index f7f96fe2b6..0000000000
--- a/package/opkg/files/opkg.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-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
index c479744500..6aa8731ee9 100644
--- a/package/opkg/files/postinst
+++ b/package/opkg/files/postinst
@@ -1,2 +1,3 @@
#!/bin/sh
ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"
+ln -sf "${IPKG_INSTROOT}/etc/ipkg.conf" "${IPKG_INSTROOT}/etc/opkg.conf"