-
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)?
-
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
-
Forum Rules

Vintage Intel 8085 CPU Processor Board Ceramic Gold IC Industrial Military Rare
$199.95

Vintage Computer Keyboard Northgate OMNIKEY Ultra
$120.00

Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used
$55.99

Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board.
$135.37

Dungeons of Daggorath TRS-80 Color Computer Tandy 26-3093 SEALED Vintage 1982
$119.99

vintage pentium 3 pc turns on no display no post
$150.00

Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot
$316.95

RAM-Tester for vintage RAM, 4816, 4164, 41256, 514402, and more - USA Seller
$35.00

VINTAGE COLLECTIBLE Comp USA Maxtor 20 GB 3.5 Inch EIDE Hard Drive NEW SEALED
$500.00

Vintage HP DVD Writer dvd210i Internal IDE Drive Q2116A BRAND NEW FACTORY SEALED
$58.85