- Timestamp:
- Feb 19, 2009 1:23:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-timesync.sh
r15926 r16947 151 151 daemon() { 152 152 $@ 153 test $? -eq 0 && add_daemon `basename $1`153 test $? -eq 0 && add_daemon rc.`basename $1` 154 154 } 155 155 … … 166 166 stat_done 167 167 } 168 169 begin() { 170 stat_busy "$1" 171 } 172 168 173 fi 169 174 … … 186 191 } 187 192 188 status() { 189 echo -n "Checking for vboxadd-timesync" 190 if [ -f /var/run/$1 ]; then 191 echo " ...running" 192 else 193 echo " ...not running" 194 fi 193 begin() { 194 echo -n "$1" 195 195 } 196 196 … … 256 256 } 257 257 258 dmnstatus() { 259 status vboxadd-timesync 260 } 258 status() { 259 echo -n "Checking for vboxadd-timesync" 260 if [ -f /var/run/$1 ]; then 261 echo " ...running" 262 else 263 echo " ...not running" 264 fi 265 } 261 266 262 267 case "$1" in … … 271 276 ;; 272 277 status) 273 dmnstatus278 status 274 279 ;; 275 280 *)
Note:
See TracChangeset
for help on using the changeset viewer.