# 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"
+ http://lunge.mit.edu/~dilinger/debxo-0.6/linux-image-2.6.37-rc4+_2.6.37-rc4+-56_i386.deb"
mkdir -p cache
for i in $k; do
pkg=$(basename ${i})
EndSection
EOF
- # configure default lxpanel size (it's awfully small otherwise)
- F=${ROOT_DIR}/usr/share/lxpanel/profile/default/panels/panel
- if [ -f ${F} ]; then
- sed --in-place "s/height=26/height=40/" ${F}
- sed --in-place "s/^}$/ iconsize=40\n}/" ${F}
- fi
-
# configure nodm
F=${ROOT_DIR}/etc/default/nodm
if [ -f ${F} ]; then
# configure wicd
F=${ROOT_DIR}/etc/wicd/manager-settings.conf
- 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
+ # 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
}