projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace ipkg-make-index with a shell script that works on bsd
[openwrt.git]
/
package
/
base-files
/
brcm-2.4
/
bin
/
firstboot
diff --git
a/package/base-files/brcm-2.4/bin/firstboot
b/package/base-files/brcm-2.4/bin/firstboot
index
2818978
..
b65d3ee
100755
(executable)
--- a/
package/base-files/brcm-2.4/bin/firstboot
+++ b/
package/base-files/brcm-2.4/bin/firstboot
@@
-1,5
+1,5
@@
#!/bin/sh
#!/bin/sh
-#
$Id$
+#
Copyright (C) 2006 OpenWrt.org
rom=$(awk '/squashfs/ {print $2}' /proc/mounts)
jffs=$(awk '/jffs2/ {print $2}' /proc/mounts)
rom=$(awk '/squashfs/ {print $2}' /proc/mounts)
jffs=$(awk '/jffs2/ {print $2}' /proc/mounts)
@@
-22,7
+22,7
@@
dupe() { # <new_root> <old_root>
./rom/note) ;; #nothing
./etc/config*|\
./etc/resolv.conf|\
./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
*) ln -sf /rom/${file#./*} $file;;
esac
done
This page took
0.033521 seconds
and
4
git commands to generate.