Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Need to edit init.d!!!

  1. #11
    Newbie
    Join Date
    Jan 2010
    Posts
    9
    when you did :

    root@Chrysler300m-desktop:/home/chrysler300m# /etc/init.d/usplash start

    have you seen anything? if not try:

    usplash_down

    if you see something means that you don't have modified correctly your /etc/init.d/usplash
    repost it to see the modification

    otherwise reinstall usplash

  2. #12
    Maximum Bitrate locs4dayz's Avatar
    Join Date
    Sep 2009
    Location
    Philadelphia, PA
    Posts
    507
    Quote Originally Posted by nemocrk View Post
    when you did :

    root@Chrysler300m-desktop:/home/chrysler300m# /etc/init.d/usplash start

    have you seen anything? if not try:

    usplash_down

    if you see something means that you don't have modified correctly your /etc/init.d/usplash
    repost it to see the modification

    otherwise reinstall usplash

    Here is my edit...


    #! /bin/sh
    ### BEGIN INIT INFO
    # Provides: usplash
    # Required-Start: $all
    # Required-Stop: $all
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Integrate usplash into the boot process
    # Description: This script deals with some awkward details of integrating
    # the userspace bootsplash screen into the boot process. On
    # start it stops the usplash daemon (counter-intuitive, but
    # usplash was already started in the initramfs); on stop, it
    # calls usplash_down (unless usplash is already running).
    ### END INIT INFO
    #
    # The usplash script makes sure that usplash exits at the end of
    # the boot sequence and re-run the console-screen.sh script to make
    # sure that the console fonts are actually set
    #
    # Written by Miquel van Smoorenburg <[email protected]>.
    # Modified for Debian
    # by Ian Murdock <[email protected]>.
    #
    # Version: @(#)skeleton 1.9 26-Feb-2001 [email protected]
    #

    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    DAEMON=/sbin/usplash
    NAME=usplash
    DESC="Userspace bootsplash utility"

    test -x $DAEMON || exit 0

    set -e

    usplash_down() {
    # first some sanity checks if we actually have usplash on the system
    #
    # check if usplash is runing and if it does, exit it
    # then re-run console-screen.sh because it can't set console-fonts
    # properly while the screen is in graphics mode
    #
    # also check if we are ended up in console 8. This means that
    # no gdm/kdm/xdm was started (otherwise we would be on vt7).
    # It happens when e.g. usplash timed out
    if type setupcon >/dev/null 2>&1; then
    CONSOLE_SCREEN=
    elif [ -x /etc/init.d/console-screen.sh ]; then
    CONSOLE_SCREEN="/etc/init.d/console-screen.sh start"
    else
    CONSOLE_SCREEN=
    fi
    if type usplash >/dev/null 2>&1 &&
    ( pidof usplash > /dev/null || [ "$(fgconsole 2>/dev/null)" = "8" ] ); then
    # Clear VT 8 of any console messages
    clear >/dev/tty8

    #ask usplash to go away
    usplash_write quit

    #wait until it is really gone or kill it if it dosn't exit
    i=0
    while pidof usplash > /dev/null; do
    i=$(($i + 1))
    if [ $i -gt 100 ]; then
    kill -9 `pidof usplash`
    break
    fi
    sleep 0.1
    done

    # reset all our virtual consoles, yay!
    if [ "$CONSOLE_SCREEN" ]; then
    $CONSOLE_SCREEN
    fi
    if [ "$(fgconsole 2>/dev/null)" = "8" ] && [ "$DO_NOT_SWITCH_VT" != "yes" ]; then
    chvt 1
    fi
    fi
    }

    case "$1" in
    start)
    #usplash_quit
    usplash_down
    ;;
    stop)
    SPLASH=true
    if [ -f /proc/cmdline ] ; then
    for x in $(cat /proc/cmdline); do
    case $x in
    nosplash*)
    SPLASH=false
    ;;
    splash*)
    SPLASH=true
    ;;
    esac
    done
    fi

    if [ "$SPLASH" = "true" ] ; then
    pidof usplash > /dev/null || usplash_down
    usplash_write "TIMEOUT 15"
    fi
    ;;
    *)
    N=/etc/init.d/$NAME
    # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
    echo "Usage: $N {start|stop}" >&2
    exit 1
    ;;
    esac

    exit 0


    The line"usplash_quit" was originally there, and I wasn't sure if removing it was the problem, so I just put it back and commented it out
    Linux(Learning the curve...Like when driving!!!)
    Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

  3. #13
    Newbie
    Join Date
    Jan 2010
    Posts
    9
    so if in terminal you run:
    sudo usplash_down
    you can see your defined bootsplash?

  4. #14
    Maximum Bitrate locs4dayz's Avatar
    Join Date
    Sep 2009
    Location
    Philadelphia, PA
    Posts
    507
    Quote Originally Posted by nemocrk View Post
    so if in terminal you run:
    sudo usplash_down
    you can see your defined bootsplash?

    Yes... without the indicator moving side to side. Then after a few seconds it disappears and all I get is a blank screen with just the cursor blinking.

    Reinstalled usplash, then ran and got...


    root@Chrysler300m-desktop:/home/chrysler300m# sudo update-rc.d -f usplash remove
    Removing any system startup links for /etc/init.d/usplash ...
    /etc/rc0.d/K02usplash
    /etc/rc1.d/K02usplash
    /etc/rc2.d/S98usplash
    /etc/rc3.d/S98usplash
    /etc/rc4.d/S98usplash
    /etc/rc5.d/S98usplash
    /etc/rc6.d/K02usplash
    root@Chrysler300m-desktop:/home/chrysler300m# sudo update-rc.d usplash 01 S . 01 0 1 6
    usage: update-rc.d [-n] [-f] <basename> remove
    update-rc.d [-n] <basename> defaults [NN | SS KK]
    update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
    -n: not really
    -f: force
    root@Chrysler300m-desktop:/home/chrysler300m#
    Linux(Learning the curve...Like when driving!!!)
    Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

  5. #15
    Newbie
    Join Date
    Jan 2010
    Posts
    9
    so if in terminal you type:
    sudo /etc/init.d/usplash start
    you have to see your bootsplash again... or not?

  6. #16
    Newbie
    Join Date
    Jan 2010
    Posts
    9
    the second command hasn't worked....
    you have to type:
    "update-rc.d usplash start 01 S . stop 01 0 1 6 ."
    without quote
    then reboot and you got it

  7. #17
    Maximum Bitrate locs4dayz's Avatar
    Join Date
    Sep 2009
    Location
    Philadelphia, PA
    Posts
    507
    Quote Originally Posted by nemocrk View Post
    so if in terminal you type:
    sudo /etc/init.d/usplash start
    you have to see your bootsplash again... or not?
    Here is what I get...


    root@Chrysler300m-desktop:/home/chrysler300m# sudo /etc/init.d/usplash start
    root@Chrysler300m-desktop:/home/chrysler300m#
    Linux(Learning the curve...Like when driving!!!)
    Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

  8. #18
    Maximum Bitrate locs4dayz's Avatar
    Join Date
    Sep 2009
    Location
    Philadelphia, PA
    Posts
    507
    Quote Originally Posted by nemocrk View Post
    the second command hasn't worked....
    you have to type:
    "update-rc.d usplash start 01 S . stop 01 0 1 6 ."
    without quote
    then reboot and you got it
    Did this and it added to the rc.d files. Restarted. No change. So I re-ran the command to make sure and got...


    root@Chrysler300m-desktop:/home/chrysler300m# update-rc.d usplash start 01 S . stop 01 0 1 6 .
    System startup links for /etc/init.d/usplash already exist.
    root@Chrysler300m-desktop:/home/chrysler300m#


    Still no change!!!

    I think this usplash issue may be the 1st bug I have discovered with the new kernel(at least on my machine)!
    Linux(Learning the curve...Like when driving!!!)
    Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

  9. #19
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Quote Originally Posted by locs4dayz View Post
    Did this and it added to the rc.d files. Restarted. No change. So I re-ran the command to make sure and got...


    root@Chrysler300m-desktop:/home/chrysler300m# update-rc.d usplash start 01 S . stop 01 0 1 6 .
    System startup links for /etc/init.d/usplash already exist.
    root@Chrysler300m-desktop:/home/chrysler300m#


    Still no change!!!

    I think this usplash issue may be the 1st bug I have discovered with the new kernel(at least on my machine)!
    if you boot (using grub) to the old kernel, does it work?
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  10. #20
    Maximum Bitrate locs4dayz's Avatar
    Join Date
    Sep 2009
    Location
    Philadelphia, PA
    Posts
    507
    Quote Originally Posted by kev000 View Post
    if you boot (using grub) to the old kernel, does it work?
    Not anymore...so maybe its not the new kernel at fault. Something must have gotten deleted, or maybe its timing out too early. I'm pulling my hair out trying to solve this stupid problem!!! If this was Windows a simple re-install, chkdsk, recovery console, or system restore would have long ago fixed this issue. Been using the terminal to update cause my ice update suddenly stopped doing anything(I can live with that), and the configuration utility all of a sudden won't finish configuring(gets to "Activating tuxonice (re", then never goes any further). Otherwise my system is running good, but I'm now hesitant to update or upgrade for fear something else that is more important to my carpc needs will get messed up(still can't figure out why I can't play music CD's from my CD drive). Wish Linux could automatically fix accidentally deleted files like Windows. As much as want to get away from the giant known as Microsoft...stuff like this reminds me why 80-90 % of all PC users have a Windows machine still, even though Linux is free. So I guess while I got my system running right(minus the usplash which is a small overall thing), better quit while I'm ahead. I'll just use Windows Media Player in XP to play my CD's(can't make custom playlists in LinuxICE2). I still like LinuxICE2 and it will still be my default carpc OS(love the user interface for car computing).
    Linux(Learning the curve...Like when driving!!!)
    Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. XM / Sirius Worklog
    By Nola111 in forum Centrafuse
    Replies: 251
    Last Post: 08-20-2008, 11:05 AM
  2. skin edit
    By Artificial in forum StreetDeck Skins
    Replies: 1
    Last Post: 10-30-2007, 02:15 PM
  3. Edit Signature yeilds "Undefined authentication type"
    By 2k1Toaster in forum Mp3car Forum Suggestions/Comments
    Replies: 2
    Last Post: 04-19-2007, 09:04 AM
  4. Cant edit post in FireFox
    By liquid_smoke in forum Mp3car Forum Suggestions/Comments
    Replies: 23
    Last Post: 11-10-2005, 12:23 PM
  5. obd2 edit gm
    By Tricked-Out-Toy in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 6
    Last Post: 10-16-2005, 03:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •