X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=src%2Finitscripts%2Fpackages%2Frpcbind;h=8691f51223bcfa4117b4cdb3342993968b173360;hp=7216acd906691a14a2c9af7e9622c9348525ba2a;hb=HEAD;hpb=17f7f41e4147c5653591c1413e576d72461cc1cb diff --git a/src/initscripts/packages/rpcbind b/src/initscripts/packages/rpcbind index 7216acd906..8691f51223 100644 --- a/src/initscripts/packages/rpcbind +++ b/src/initscripts/packages/rpcbind @@ -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 # +# # +# 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 . # +# # +############################################################################### . /etc/sysconfig/rc . $rc_functions @@ -18,12 +25,12 @@ 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