rpms/odccm/F-8 odccm-odccmd,NONE,1.1
Andreas Bierfert (awjb)
fedora-extras-commits at redhat.com
Sun Jan 13 15:42:47 UTC 2008
- Previous message (by thread): rpms/synce-gnomevfs/F-8 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 synce-gnomevfs.spec, 1.7, 1.8
- Next message (by thread): rpms/cernlib-g77/devel cernlib-216-use-cernlib-gamma-not-intrinsic.dpatch, NONE, 1.1 .cvsignore, 1.4, 1.5 315-fixes-for-MacOSX.dpatch, 1.1, 1.2 700-remove-kernlib-from-packlib-Imakefile.dpatch, 1.1, 1.2 702-patch-Imakefiles-for-packlib-mathlib.dpatch, 1.1, 1.2 cernlib-102-dont-optimize-some-code.dpatch, 1.1, 1.2 cernlib-211-support-amd64-and-itanium.dpatch, 1.2, 1.3 cernlib-211-support-digital-alpha.dpatch, 1.1, 1.2 cernlib-303-shadow-passwords-supported.dpatch, 1.1, 1.2 cernlib-304-update-Imake-config-files.dpatch, 1.1, 1.2 cernlib-308-use-canonical-cfortran-location.dpatch, 1.1, 1.2 cernlib-321-support-gfortran.dpatch, 1.1, 1.2 cernlib-600-use-host.def-config-file.dpatch, 1.1, 1.2 cernlib-803-link-binaries-dynamically.dpatch, 1.2, 1.3 cernlib-807-static-link-some-tests-on-64-bit.dpatch, 1.1, 1.2 cernlib-g77.spec, 1.6, 1.7 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: awjb
Update of /cvs/pkgs/rpms/odccm/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7085
Added Files:
odccm-odccmd
Log Message:
- add init script
--- NEW FILE odccm-odccmd ---
#!/bin/bash
#
# odccm Serial connection daemon for Pocket PC devices
#
# chkconfig: - 98 2
# description: odccm is a legacy-free dccm-implementation for Windows Mobile 5
# (and newer) devices.
### BEGIN INIT INFO
# Provides: odccm
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Short-Description: Serial connection daemon for Pocket PC devices
# Description: Odccm is a legacy-free dccm-implementation for Windows Mobile 5
# (and newer) devices.
### END INIT INFO
# Source function library.
. /etc/init.d/functions
prog=odccm
RETVAL=0
start() {
echo -n $"Starting $prog: "
daemon $prog
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
}
stop() {
echo -n $"Shutting down $prog: "
killproc $prog
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
condrestart|force-reload|try-restart)
if [ -f /var/lock/subsys/$prog ]; then
stop
start
fi
;;
status)
status $prog
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|try-restart|reload|force-reload|status}"
RETVAL=1
esac
exit $RETVAL
- Previous message (by thread): rpms/synce-gnomevfs/F-8 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 synce-gnomevfs.spec, 1.7, 1.8
- Next message (by thread): rpms/cernlib-g77/devel cernlib-216-use-cernlib-gamma-not-intrinsic.dpatch, NONE, 1.1 .cvsignore, 1.4, 1.5 315-fixes-for-MacOSX.dpatch, 1.1, 1.2 700-remove-kernlib-from-packlib-Imakefile.dpatch, 1.1, 1.2 702-patch-Imakefiles-for-packlib-mathlib.dpatch, 1.1, 1.2 cernlib-102-dont-optimize-some-code.dpatch, 1.1, 1.2 cernlib-211-support-amd64-and-itanium.dpatch, 1.2, 1.3 cernlib-211-support-digital-alpha.dpatch, 1.1, 1.2 cernlib-303-shadow-passwords-supported.dpatch, 1.1, 1.2 cernlib-304-update-Imake-config-files.dpatch, 1.1, 1.2 cernlib-308-use-canonical-cfortran-location.dpatch, 1.1, 1.2 cernlib-321-support-gfortran.dpatch, 1.1, 1.2 cernlib-600-use-host.def-config-file.dpatch, 1.1, 1.2 cernlib-803-link-binaries-dynamically.dpatch, 1.2, 1.3 cernlib-807-static-link-some-tests-on-64-bit.dpatch, 1.1, 1.2 cernlib-g77.spec, 1.6, 1.7 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list