Changeset c631d1a for gutenbach/debian/gutenbach.init
- Timestamp:
- Nov 25, 2009, 2:10:09 AM (15 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- af7788c
- Parents:
- 331360d
- git-author:
- Jessica B. Hamrick <jhamrick@…> (11/25/09 02:10:09)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (11/25/09 02:10:09)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
gutenbach/debian/gutenbach.init
rc061ab8 rc631d1a 1 1 #!/bin/sh 2 2 ### BEGIN INIT INFO 3 # Provides: sipbmp33 # Provides: gutenbach 4 4 # Required-Start: $remote_fs $syslog 5 5 # Required-Stop: $remote_fs $syslog 6 6 # Default-Start: 2 3 4 5 7 7 # Default-Stop: 0 1 6 8 # Short-Description: Starts lpd for sipbmp3.9 # Description: Starts lpd for sipbmp3and creates10 # files for use by sipbmp3.8 # Short-Description: Starts lpd for gutenbach. 9 # Description: Starts lpd for gutenbach and creates 10 # files for use by gutenbach. 11 11 ### END INIT INFO 12 12 13 13 case "$1" in 14 14 start) 15 mkdir /var/run/ sipbmp316 touch /var/run/ sipbmp3/status17 chmod 0777 /var/run/ sipbmp3/status15 mkdir /var/run/gutenbach 16 touch /var/run/gutenbach/status 17 chmod 0777 /var/run/gutenbach/status 18 18 19 19 if [ -x /etc/init.d/lprng ]; then … … 41 41 fi 42 42 43 rm -r /var/run/ sipbmp343 rm -r /var/run/gutenbach 44 44 if which invoke-rc.d >/dev/null 2>&1; then 45 45 invoke-rc.d "$script" stop … … 58 58 fi 59 59 60 rm -r /var/run/ sipbmp360 rm -r /var/run/gutenbach 61 61 if which invoke-rc.d >/dev/null 2>&1; then 62 62 invoke-rc.d "$script" stop … … 65 65 fi 66 66 67 mkdir /var/run/ sipbmp368 touch /var/run/ sipbmp3/status69 chmod 0777 /var/run/ sipbmp3/status67 mkdir /var/run/gutenbach 68 touch /var/run/gutenbach/status 69 chmod 0777 /var/run/gutenbach/status 70 70 if which invoke-rc.d >/dev/null 2>&1; then 71 71 invoke-rc.d "$script" start … … 79 79 80 80 *) 81 echo "Usage: /etc/init.d/ sipbmp3{start|stop|restart}" >&281 echo "Usage: /etc/init.d/gutenbach {start|stop|restart}" >&2 82 82 exit 1 83 83 ;;
Note: See TracChangeset
for help on using the changeset viewer.