-
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)?
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
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$297.00
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$299.00
HP/HPE ProLiant AMD Opteron X3216 APU 16 GB RAM MicroServer Gen 10 NO DRIVES
$299.99
HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES
$199.99
HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*
$94.99
HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES
$199.99
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon
$846.19
RackChoice 2U Micro ATX Compact Rackmount 2 x 5.25 Chassis Support ATX PS2
$96.00
Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears
$199.00