mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Replace portmap with rpcbind
Portmap is not maintained anymore that's why it is replaced by rpcbind. Rpcbind provides also rpcinfo which is quite useful for debugging. Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
a1a05a444f
commit
e93a0b06fe
@@ -22,8 +22,12 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
# remove portmap
|
||||
/etc/init.d/portmap stop
|
||||
rm -rf /etc/rc.d/rc*.d/*portmap /sbin/portmap /etc/rc.d/init.d/portmap
|
||||
# install rpcbind
|
||||
extract_files
|
||||
start_service --background ${NAME}
|
||||
ln -sf ../init.d/portmap /etc/rc.d/rc0.d/K49portmap
|
||||
ln -sf ../init.d/portmap /etc/rc.d/rc3.d/S22portmap
|
||||
ln -sf ../init.d/portmap /etc/rc.d/rc6.d/K49portmap
|
||||
ln -sf ../init.d/rpcbind /etc/rc.d/rc0.d/K49rpcbind
|
||||
ln -sf ../init.d/rpcbind /etc/rc.d/rc3.d/S22rpcbind
|
||||
ln -sf ../init.d/rpcbind /etc/rc.d/rc6.d/K49rpcbind
|
||||
@@ -24,4 +24,4 @@
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
remove_files
|
||||
rm -rf /etc/rc.d/rc*.d/*portmap
|
||||
rm -rf /etc/rc.d/rc*.d/*rpcbind
|
||||
Reference in New Issue
Block a user