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:
Jonatan Schlag
2016-05-07 16:16:35 +02:00
committed by Michael Tremer
parent a1a05a444f
commit e93a0b06fe
14 changed files with 125 additions and 66 deletions

View File

@@ -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

View File

@@ -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