summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 20:51:41 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 20:51:41 +0000
commit37e2e5b0390ecffc2570db91edf3775da8ee513e (patch)
tree1621bb2249caf0720d50a127ffd09141eb2a4eee
parent257aad2c40c2334044c2af7f39b78c554b387281 (diff)
Add FIXME about broken wrodno option in functions. Remove solved TODOs.
git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@11 8f53b18a-e215-0410-8885-9f593d34873e
-rw-r--r--TODO7
-rw-r--r--functions3
2 files changed, 3 insertions, 7 deletions
diff --git a/TODO b/TODO
index f9db020..b31da25 100644
--- a/TODO
+++ b/TODO
@@ -19,12 +19,6 @@
+ Generate yaird initramfs.
+ Reset root password.
+ Generate SSH host keys (if SSH server installed).
- * Avoid daemons starting within chroot:
- + syslog-ng
- + ssh
- + (rpc.statd)
- Possible solution: Add /usr/sbin/policy-rc.d exiting errorlevel 101
- when in chroot.
* Fix /dev in chroot not properly unmounted with udev-based host.
(fixed in sid)
* Avoid mkinitrd probing root dev (not requiring USBstick plugged in).
@@ -38,7 +32,6 @@
DGIH:
- * If using resolvconf, make sure this is setup: ln -s /dev/shm/resolvconf /etc/resolvconf/run
* Hand-edit infoscreen routines:
* Add /etc/*/local-infoscreen and /usr/local/bin
* Add dir /var/lib/infoscreen
diff --git a/functions b/functions
index 2a7cfa3..58536cf 100644
--- a/functions
+++ b/functions
@@ -49,6 +49,7 @@ function enableoraddlines() {
# File to tweak
file="$1"; shift
# Word number in line to search for and replace if found
+ # FIXME: This is broken - wordno unconditionally becomes firstword later on
wordno="$1"; shift
[ -e "$file" ] || touch "$file"
for line; do
@@ -70,6 +71,7 @@ function preserveandaddlines() {
# Extension of backup file
ext="$1"; shift
# Word number in line to search for and replace if found
+ # FIXME: This is broken - wordno unconditionally becomes firstword later on
wordno="$1"; shift
preserveolderfile "$file" "$ext"
# enableoraddlines "$file" "$wordno" $@
@@ -94,6 +96,7 @@ function preserveandhashdisablelines() {
# Extension of backup file
ext="$1"; shift
# Word number in line to search for and replace if found
+ # FIXME: This is broken - wordno unconditionally becomes firstword later on
wordno="$1"; shift
preserveolderfile "$file" "$ext"
# disablelines "$file" "$wordno" "#" $@