You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
349 B
Plaintext
16 lines
349 B
Plaintext
7 years ago
|
# mountall-net - Mount network filesystems
|
||
|
#
|
||
|
# Send mountall the USR1 signal to inform it to try network filesystems
|
||
|
# again.
|
||
|
|
||
|
description "Mount network filesystems"
|
||
|
|
||
|
start on net-device-up
|
||
|
|
||
|
task
|
||
|
|
||
|
script
|
||
|
PID=$(status mountall 2>/dev/null | sed -e '/start\/running,/{s/.*,[^0-9]*//;q};d')
|
||
|
[ -n "$PID" ] && kill -USR1 $PID || true
|
||
|
end script
|