]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/packages/rpcbind
suricata: Change midstream policy to "pass-flow"
[people/pmueller/ipfire-2.x.git] / src / initscripts / packages / rpcbind
index 7216acd906691a14a2c9af7e9622c9348525ba2a..8691f51223bcfa4117b4cdb3342993968b173360 100644 (file)
@@ -1,16 +1,23 @@
 #!/bin/sh
-########################################################################
-# Begin $rc_base/init.d/rpcbind
-#
-# Description : rpcbind init script
-#
-# Authors     : Jonatan Schlag jonatan.schlag@ipfire.org
-#
-# Version     : 01.00
-#
-# Notes       :
-#
-########################################################################
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
 
 . /etc/sysconfig/rc
 . $rc_functions
 case "$1" in
        start)
                boot_mesg "Starting rpcbind"
-               loadproc /sbin/rpcbind
+               loadproc /usr/sbin/rpcbind
                ;;
 
        stop)
                boot_mesg "Stopping rpcbind"
-               killproc /sbin/rpcbind
+               killproc /usr/sbin/rpcbind
                ;;
 
        restart)
@@ -33,7 +40,7 @@ case "$1" in
                ;;
 
        status)
-               statusproc /sbin/rpcbind
+               statusproc /usr/sbin/rpcbind
                ;;
 
        *)
@@ -42,5 +49,3 @@ case "$1" in
                ;;
 
 esac
-
-# End $rc_base/init.d/rpcbind