-
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
Cisco (SG100D-05-UK) 5-Ports External Ethernet Switch
$40.00
Cisco Meraki MS120-48LP 48 Port Blade Ethernet Switch UNCLAIMED
$349.98
HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A
$74.99
HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A
$30.95
New Linksys SE3005 5-port Gigabit Ethernet Switch
$18.99
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch
$34.99
Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord
$43.95
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97