mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* opkg: bump to latest git HEAD Signed-off-by: CN_SZTL <cnsztl@gmail.com> * config: add option for opkg
10 lines
299 B
Bash
Executable File
10 lines
299 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ -f /etc/opkg.conf ] && grep -q "src\/" /etc/opkg.conf || exit 0
|
|
|
|
echo -e "# Old feeds from previous image\n# Uncomment to reenable\n" >> /etc/opkg/customfeeds.conf
|
|
sed -n "s/.*\(src\/.*\)/# \1/p" /etc/opkg.conf >> /etc/opkg/customfeeds.conf
|
|
sed -i "/.*src\/.*/d" /etc/opkg.conf
|
|
|
|
exit 0
|