[package] base-files: ensure that ipv6 is loaded if interfaces have an ip6addr define...
[openwrt/svn-archive/archive.git] / package / base-files / files / bin / firstboot
index ad87f7482e52623fd0f77aa5b7cf87cd84db77f7..8453b300966902a2832e23eb8d396c5a0776bd53 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
-# $Id: firstboot 5544 2006-11-17 03:07:10Z nbd $
 . /etc/functions.sh
 
 partname="rootfs_data"
@@ -25,7 +24,7 @@ dupe() { # <new_root> <old_root>
                case "$file" in
                ./rom/note) ;; #nothing
                ./etc/config*|\
-               ./usr/lib/ipkg/info/*) cp -af $2/$file $file;;
+               ./usr/lib/opkg/info/*) cp -af $2/$file $file;;
                *) ln -sf /rom/${file#./*} $file;;
                esac
        done