#!/bin/sh
-# $Id$
+# Copyright (C) 2006 OpenWrt.org
rom=$(awk '/squashfs/ {print $2}' /proc/mounts)
jffs=$(awk '/jffs2/ {print $2}' /proc/mounts)
./rom/note) ;; #nothing
./etc/config*|\
./etc/resolv.conf|\
- ./usr/lib/ipkg/info) cp -af $2/$file $file;;
+ ./usr/lib/ipkg/info/*) cp -af $2/$file $file;;
*) ln -sf /rom/${file#./*} $file;;
esac
done