EOF
# install some custom packages that aren't on mirrors. ugly hack!
- k="http://lunge.mit.edu/~dilinger/debxo-0.2/ofw-config_0.1_all.deb
- http://lunge.mit.edu/~dilinger/debxo-0.6/linux-image-2.6.37-rc1+_2.6.37-rc1+-47_i386.deb"
+ k="http://lunge.queued.net/~dilinger/debxo-0.2/ofw-config_0.1_all.deb"
mkdir -p cache
for i in $k; do
pkg=$(basename ${i})
sed --in-place "s/NODM_ENABLED=.*$/NODM_ENABLED=true/" ${F}
fi
+ # configure wicd
+ F=${ROOT_DIR}/etc/wicd/manager-settings.conf
+ # there's no actual config file in the package; it's autocreated or something. ugh.
+ cp wicd-manager-settings.conf ${F}
+# if [ -f ${F} ]; then
+# sed --in-place "s/wireless_interface =.*$/wireless_interface = wlan0/" ${F}
+# sed --in-place "s/wired_inferface =.*$/wired_interface = eth0/" ${F}
+# # auto-connect to wired
+# sed --in-place "s/prefer_wired =.*$/prefer_wired = True/" ${F}
+# sed --in-place "s/wired_connect_mode =.*$/wired_connect_mode = 0/" ${F}
+# fi
+
}
cleanup_chroot_hook()