[root@machine vpnserver]# make ./.install.sh Do you want to read the License Agreement for this software ? 1. Yes 2. No Please choose one of above number: 1 |
EULA Did you read and understand the License Agreement ? (If you couldn't read above text, Please read License_ReadMe.txt file with any text editor.) 1. Yes 2. No Please choose one of above number: 1 |
Did you agree the License Agreement ? 1. Agree 2. Do Not Agree Please choose one of above number: 1 |
#!/bin/sh # chkconfig: 2345 99 01 # description: SoftEther VPN Server DAEMON=/usr/local/vpnserver/vpnserver LOCK=/var/lock/subsys/vpnserver test -x $DAEMON || exit 0 case '$1' in start) $DAEMON start touch $LOCK ;; stop) $DAEMON stop rm $LOCK ;; restart) $DAEMON stop sleep 3 $DAEMON start ;; *) echo 'Usage: $0 {start|stop|restart}' exit 1 esac exit 0 |
[root@machine vpnserver]# cat > /etc/init.d/vpnserver #!/bin/sh # chkconfig: 2345 99 01 # description: SoftEther VPN Server DAEMON=/usr/local/vpnserver/vpnserver LOCK=/var/lock/subsys/vpnserver test -x $DAEMON || exit 0 case '$1' in start) $DAEMON start touch $LOCK ;; stop) $DAEMON stop rm $LOCK ;; restart) $DAEMON stop sleep 3 $DAEMON start ;; *) echo 'Usage: $0 {start|stop|restart}' exit 1 esac exit 0 |