Re: [debian-knoppix] Suggestion: make knoppix-autoconfig fully configurable via files
Hi,
Thanks for your reply.
> My idea, that is in the upcoming knoppix-installer-0.3 is to use CMDLINE
> from environment, if its set ...
Fair enough, I'd prefer KNOPPIX_CMDLINE though..
> Hm, I see why you do it, but I have a better solution ...
>
> > BOOT_nomkxf86config=yes
> Not, needed. Just saves time, but its sooo less time, so its not worth ...
>
> And you can easily create a new XF86Config-4 if you rename the old one and
> reboot ... :-))
Hmm, I think you don't even have to rename the old one,
your carefully tuned(tm) XF86Config-4 is overwritten nonetheless?
> I use /etc/default/knoppix
Fine with me, still I'd personally prefer /etc/default/rcS simply
because knoppix-autoconfig effectively _is_ /etc/init.d/rcS.
> > # Set hostname
> > -hostname Knoppix
> > +hostname "$(cat /etc/hostname)"
>
>
> Hm, this one _could_ be done ...
Yes, please apply.
> > # Set clock (Local time is more often used than GMT, so it is default)
> > UTC=""
> > @@ -447,7 +453,10 @@
> >
> > KTZ="$(getbootparam tz 2>/dev/null)"
> > [ -f "/usr/share/zoneinfo/$KTZ" ] && TZ="$KTZ"
> > -cp "/usr/share/zoneinfo/$TZ" /etc/localtime
> > +if ! cmp "/usr/share/zoneinfo/$TZ" /etc/localtime; then
> > + rm -f /etc/localtime
> > + ln -s "/usr/share/zoneinfo/$TZ" /etc/localtime
> > +fi
>
> Is this needed ?
I just want to avoid needless writing to /etc, especially this early
in the boot process. Also the symlink carries more information than
the copy in this case (what timezone did I configure again? "ls -l
/etc/localtime" will tell you).
> > +if ! checkbootparam norebuildfstab; then
> > # Start creating /etc/fstab with HD partitions and USB SCSI devices now
> > echo -n "${BLUE}Scanning for Harddisk partitions and creating
> > ${YELLOW}/etc/fstab${BLUE}... "
> > rebuildfstab -r -u knoppix -g knoppix >/dev/null 2>&1
> > @@ -802,6 +812,7 @@
> > sleep 8
> > fi
> > echo "${GREEN}Done.${NORMAL}"
> > +fi
>
> Thats general a good idea, but why do you want it ?
> fstab creation does not cost much time ...
Again, my carefully tuned(tm) /etc/fstab on harddisk shouldn't be
overwritten. E.g., consider swap priorities and such.
> Please wait for knoppix-installer 0.3 it will have everything you mentioned
> in new "beginner" mode and also much more ...
Ok, looking forward to it.
Regards,
Wolfram.
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
Reply to: