Browse Source

Fixing some TODO items

tags/nilmdbuntu-1
Jim Paris 10 years ago
parent
commit
23387b4544
3 changed files with 17 additions and 13 deletions
  1. +8
    -12
      TODO
  2. +9
    -0
      customize-inner.sh
  3. +0
    -1
      customize.sh

+ 8
- 12
TODO View File

@@ -2,17 +2,13 @@

Problems with 3ce08771a631f9e373f65995fd2114a817326e98:
- Ubiquity chooser doesn't have nilmdb background
- Theme is still "Greybird" not "Clearlooks"
- Icons are still "elementary Xfce dark" not "elementary Xfce"
- Change xfdesktop background color to black
- Set default firefox homepage to http://nilmdb.com/
- /home/nilmdb should have /etc/skel stuff
- capture.sh should say skipping
- ubiquity still shows release notes?
- release notes need to exist
* Theme is still "Greybird" not "Clearlooks"
* Icons are still "elementary Xfce dark" not "elementary Xfce"
* Change xfdesktop background color to black
* Set default firefox homepage to http://nilmdb.com/
* /home/nilmdb should have /etc/skel stuff
* capture.sh should say skipping
* ubiquity still shows release notes?
* release notes need to exist
- in live CD, ssh_host_dsa_key is ba636e7440..
- quiet/splash removal failed --- preseed late_command didn't work

Nice to fix maybe:
- ubuquity splash
- maybe skip the "try" screen and go straight to desktop?

+ 9
- 0
customize-inner.sh View File

@@ -93,6 +93,8 @@ dpkg-reconfigure -f noninteractive tzdata

# Create nilmdb user to run the database
adduser --system --group --shell /bin/bash --disabled-password nilmdb
cp -rv /etc/skel/.??* /home/nilmdb
chown -R nilmdb:nilmdb /home/nilmdb

# Create WSGI scripts
cat > /home/nilmdb/nilmdb.wsgi <<"EOF"
@@ -134,9 +136,11 @@ cat > /home/nilmdb/capture.sh <<"EOF"

# Don't run capture if we're running off a live CD
if grep -q boot=casper /proc/cmdline ; then
echo "Skipping capture, because this is a live CD."
exit 0
fi

echo "Starting capture in background..."
nilm-pipewatch --daemon --lock "/tmp/nilmdb-capture.lock" --timeout 30 \
"ethstream -a 192.168.1.209 -n 6 -r 8000" \
"nilm-insert -m 10 -r 8000 --live /data/raw"
@@ -291,3 +295,8 @@ cat >$XML <<"EOF"
</property>
</channel>
EOF

# Firefox defaults
cat >/etc/firefox/syspref.js <<"EOF"
pref("browser.startup.homepage", "http://nilmdb.com/");
EOF

+ 0
- 1
customize.sh View File

@@ -12,7 +12,6 @@ sed -i -s -e \
# The .disk/info file is important -- it's used by ubiquity to extract
# out the distro name in dialogs, and I think casper might use it too
echo "NilmDBuntu $VERSION by Jim Paris" > ${ISO}/.disk/info
rm -f ${ISO}/.disk/release_notes_url

# Set up preseed file
cp ${ISO}/preseed/xubuntu.seed ${ISO}/preseed/nilmdbuntu.seed


Loading…
Cancel
Save