Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
sed appending line
Name: gera Date: October 14, 2006 at 18:31:31 Pacific OS: Linux CPU/Ram: x86
Comment:
I need help ..
I want to append a line in my file ..
A good Example will be the file /etc/X11/prefdm
if [ -f /etc/sysconfig/desktop ]; then source /etc/sysconfig/desktop>/dev/null 2>&1 [ -n "$DISPLAYMANAGER" ] && DESKTOP=$DISPLAYMANAGER if [ "$DESKTOP" = GNOME ]; then preferred=gdm elif [ "$DESKTOP"="KDE" -o "$DESKTOP"="KDE1" -o "$DESKTOP"="KDE2" ]; then preferred=/usr/bin/kdm elif [ "$DESKTOP" = AnotherLevel ] ; then preferred=/usr/X11R6/bin/xdm fi
Summary: I am guessing that you are using lilo as your boot loader. Edit /etc/lilo.conf and look for a line that says: append="..... and add it to that, eg: append="hdb=ide-scsi apm=off" You may not have an ap...
Summary: Hi, this is only an example! Cause you can have only one (1) append lines per image section, this is an example if you have to put more than one parameters there. mem=96M refers to memory. Some time a...
Summary: They probably mean that u should put 'nonbiospnp' in the append="..." line in /etc/lilo.conf, If u're using the lilo bootloader, OR if u're using grub then, see which one of these files u're system h...