winger9
09-04-2015, 08:23 PM
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)?
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)?