"Fossies" - the Fresh Open Source Software Archive

Member "portfwd-0.29/pkg/deb/portfwd_V.SS-R_i386/DEBIAN/postrm" (10 Aug 2001, 171 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 
    3 portfwd_init=/etc/init.d/portfwd.init
    4 
    5 [ -x "$portfwd_init" ] && $portfwd_init stop
    6 
    7 if [ purge = "$1" ]; then
    8     update-rc.d $portfwd_init remove >/dev/null
    9 fi