Skip to content

Instantly share code, notes, and snippets.

View Termiux's full-sized avatar

Jorge Moreno Termiux

  • HP Enterprise Services
  • United States
View GitHub Profile
#!/bin/bash
### Author: Benedykt 'b3niup' Przybyło
USAGE="Usage: ./$0 [options as for regular cp]"
#*****************************************************************************#
#** Helpers **#
@goozbach
goozbach / ndb-local
Created May 19, 2011 18:49
Chaining PXELINUX bootloaders
ip=192.168.1.100 sys=laptop ether=001c25123456
dom=laptop.example.com
bootf=/386/syslinux/pxelinux.0
@dtjm
dtjm / vsftpd.init
Created August 4, 2010 22:12
A patched init script for vsftpd that will create PID files under /var/run/vsftpd. If you have a configuration file /etc/vsftpd/vsftpd-foo.conf, it will create the PID file /var/run/vsftpd/vsftpd-foo.pid
#!/bin/bash
#
# vsftpd This shell script takes care of starting and stopping
# standalone vsftpd. Customized to be used with CentOS 5.4
# and Monit by creating PID files for each process
#
# chkconfig: - 60 50
# description: Vsftpd is a ftp daemon, which is the program \
# that answers incoming ftp service requests.
# processname: vsftpd