|
Lines 200-213
Link Here
|
| 200 |
return 1 |
200 |
return 1 |
| 201 |
fi |
201 |
fi |
| 202 |
|
202 |
|
|
|
203 |
eindent |
| 203 |
while read cmd startupopts mnt rest ; do |
204 |
while read cmd startupopts mnt rest ; do |
| 204 |
pidfile=/var/run/autofs${mnt//\//.}.pid |
205 |
pidfile=/var/run/autofs${mnt//\//.}.pid |
| 205 |
startupopts="$(echo ${startupopts//_X_/ } --pid-file ${pidfile} )" |
206 |
startupopts="$(echo ${startupopts//_X_/ } --pid-file ${pidfile} )" |
| 206 |
bin="/usr/sbin/automount" |
207 |
bin="/usr/sbin/automount" |
| 207 |
params="$(echo $startupopts $mnt $rest)" |
208 |
params="$(echo $startupopts $mnt $rest)" |
| 208 |
|
209 |
|
| 209 |
echo -n " $mnt" |
210 |
einfo "$mnt" |
| 210 |
#echo " $mnt ($params)" |
|
|
| 211 |
|
211 |
|
| 212 |
start-stop-daemon --start --pidfile $pidfile --quiet \ |
212 |
start-stop-daemon --start --pidfile $pidfile --quiet \ |
| 213 |
--exec ${bin} -- ${params} |
213 |
--exec ${bin} -- ${params} |
|
Lines 225-231
Link Here
|
| 225 |
# clean up |
225 |
# clean up |
| 226 |
rm -f $TMPSRC |
226 |
rm -f $TMPSRC |
| 227 |
|
227 |
|
| 228 |
echo |
228 |
eoutdent |
| 229 |
|
229 |
|
| 230 |
eend $? |
230 |
eend $? |
| 231 |
} |
231 |
} |