File: prerm

package info (click to toggle)
wanpipe 2.1.1-2.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,348 kB
  • ctags: 713
  • sloc: ansic: 6,182; sh: 2,522; cpp: 2,488; makefile: 116
file content (27 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/ksh
#
# wanpipe.prerm
#
# 19990514/tm	no restart on upgrade 
#######################################################

case $1 in
   remove)
      /etc/init.d/wanpipe stop
      ;;

   upgrade)
      touch /var/lock/wanpipe_upgrade
      ;; 

   failed-upgrade)
      :
      ;; 

   *)
      # uh, beavis...
      :
      ;;
esac
   
exit 0