#!/bin/sh . /etc/sysconfig/rc . $rc_functions pidfile=/var/run/pptpd.pid case "$1" in start) boot_mesg "Starting PPTPD Server..." loadproc /usr/sbin/pptpd -d;; stop) boot_mesg "Stopping PPTPD Server..." killproc /usr/sbin/pptpd ;; *) echo "Usage: $0 {start|stop}" exit 1 ;; esac