Lines 110-115
Link Here
|
110 |
.Dl "service -rv" |
110 |
.Dl "service -rv" |
111 |
.Pp |
111 |
.Pp |
112 |
The following programmable completion entry can be use in |
112 |
The following programmable completion entry can be use in |
|
|
113 |
.Xr csh 1 |
114 |
for the names and common commands of the rc.d scripts: |
115 |
.Dl "complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e" |
116 |
.Dl " 'n/*/(start stop reload restart \e" |
117 |
.Dl " status rcvar onestart onestop)/'" |
118 |
.Pp |
119 |
The following programmable completion entry can be use in |
113 |
.Xr bash 1 |
120 |
.Xr bash 1 |
114 |
for the names of the rc.d scripts: |
121 |
for the names of the rc.d scripts: |
115 |
.Dl "_service () {" |
122 |
.Dl "_service () {" |
Lines 120-125
Link Here
|
120 |
.Dl "}" |
127 |
.Dl "}" |
121 |
.Dl "complete -F _service service" |
128 |
.Dl "complete -F _service service" |
122 |
.Sh SEE ALSO |
129 |
.Sh SEE ALSO |
|
|
130 |
.Xr csh 1 , |
123 |
.Xr bash 1 Pq Pa ports/shells/bash , |
131 |
.Xr bash 1 Pq Pa ports/shells/bash , |
124 |
.Xr rc.conf 5 , |
132 |
.Xr rc.conf 5 , |
125 |
.Xr rc 8 , |
133 |
.Xr rc 8 , |