|
Lines 307-313
Link Here
|
| 307 |
|
307 |
|
| 308 |
if [ -z "${run_service_as}" ] |
308 |
if [ -z "${run_service_as}" ] |
| 309 |
then |
309 |
then |
| 310 |
accnt_name=$(/usr/bin/cygrunsrv -VQ sshd | |
310 |
accnt_name=$(/usr/bin/cygrunsrv -VQ "${service_name}" | |
| 311 |
/usr/bin/sed -ne 's/^Account *: *//gp') |
311 |
/usr/bin/sed -ne 's/^Account *: *//gp') |
| 312 |
if [ "${accnt_name}" = "LocalSystem" ] |
312 |
if [ "${accnt_name}" = "LocalSystem" ] |
| 313 |
then |
313 |
then |