Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
#! /bin/sh
[ -f /sbin/portmap ] || exit 0
start() {
printf "Starting portmap: "
portmap
mkdir -p /var/lock/subsys
touch /var/lock/subsys/portmap
echo "done"
}
stop() {
printf "Stopping portmap: "
echo
killall portmap
rm -rf /var/lock/subsys
echo "done"
}
restart() {
stop
start
rm -f /var/run/portmap.state
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo "Usage: $0 {start|stop|reload|restart}"
exit 1
esac
exit $?