-
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
HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB
$59.00
1TB Samsung 840 EVO Internal 2.5" SATA III SSD MZ7TE1T0HMHP Solid State Drive
$69.83
960GB Samsung M.2 PM983 SSD PCIe NVMe 22110 Solid State Drive MZ1LB960HAJQ-00007
$74.68
1TB Samsung SSD 840 EVO Internal 2,5" SATA III MZ7TE1T0HMHP MZ-7TE1T0 1GB Cache
$70.80
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K
$8.99
Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State
$8.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$188.09