Results 1 to 2 of 2

Thread: What's the significance of putting "start_services &" within a subshell?

  1. #1

    What's the significance of putting "start_services &" within a subshell?

    Hi

    I'm looking at the following command in the /etc/init.d/knoppix-autoconfig boot script:

    ( start_services & ) >/dev/tty"$LOG_CONSOLE" 2>&1 # Not in job list

    It is in the context of

    # Start services (especially /etc/rc.local) in background
    addtask "bg"; addprogress "Starting background services..."
    ( start_services & ) >/dev/tty"$LOG_CONSOLE" 2>&1 # Not in job list

    The "start_services" is a function within the "knoppix-autoconfig" script.

    Could you tell me what the significance is of putting the "start_services &"
    WITHIN A SUBSHELL (the (...) brackets)?

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    It's the way to get the the function "start_services" running in the background → "&".

Posting Permissions

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


Vintage Computer, Memorex Storage Unit For Main Frame Computer 1986, Movie Prop  picture

Vintage Computer, Memorex Storage Unit For Main Frame Computer 1986, Movie Prop

$995.00



IBM FRU26F7630 3390 DASD Hard Drive 10.8” from Vintage Mainframe picture

IBM FRU26F7630 3390 DASD Hard Drive 10.8” from Vintage Mainframe

$249.99



Vintage Computer Punch Plug Board Mainframe Panels & Wiring Harness picture

Vintage Computer Punch Plug Board Mainframe Panels & Wiring Harness

$50.00



*PAIR* 1960's Vintage GE-600 Series Mainframe Computer PCBs Bitslice Accumulator picture

*PAIR* 1960's Vintage GE-600 Series Mainframe Computer PCBs Bitslice Accumulator

$14.95



Digital DEC LK201 Terminal Keyboard RJ11 Connection Mainframe picture

Digital DEC LK201 Terminal Keyboard RJ11 Connection Mainframe

$49.00



AST Bravo MS P/60 Vintage Mainframe Computer Old IBM Style NO HDD picture

AST Bravo MS P/60 Vintage Mainframe Computer Old IBM Style NO HDD

$129.95



Chrislin Industries CI-1123 PDP-11 Q-Bus DRAM Card, Untested picture

Chrislin Industries CI-1123 PDP-11 Q-Bus DRAM Card, Untested

$100.00



Vintage Hewlett Packard HP 2100A Microprogrammable Computer System Mainframe picture

Vintage Hewlett Packard HP 2100A Microprogrammable Computer System Mainframe

$999.99



JINX Gaming Computer Mainframe Rare Collectible  picture

JINX Gaming Computer Mainframe Rare Collectible

$500.00



AOC 14in Monochrome Monitor MM-413S VGA Mainframe Collection RARE 1993 picture

AOC 14in Monochrome Monitor MM-413S VGA Mainframe Collection RARE 1993

$174.99