View Single Post
  #11  
Old 18th April 2011, 02:48
Akina Akina is offline
Junior Member
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 2 Times in 1 Post
Default

i am new linux user (Newbie) , but check this :


Debian LSB Info - http://wiki.debian.org/LSBInitScripts

For Bastille - firewall Info: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460860
Resources: http://ftp.debian.org/debian/pool/main/b/bastille/


vi /etc/init.d/bastille-firewall

Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides:          bastille-firewall
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Load/unload ipchains rulesets
# Description:       A firewall/packet-filter script for Linux systems 
#                    that allows the machine to be used as a gateway system
### END INIT INFO
#
# chkconfig: 2345 5 98
#
# $Id: bastille-firewall,v 1.6 2002/02/24 17:19:14 peterw Exp $
# Copyright (c) 1999-2002 Peter Watkins
-vi /etc/init.d/ispconfig_server

Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: ispconfig_server
# Required-Start: $network $syslog
# Required-Stop: $network
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Description: Start or stop the ISPConfig server
### END INIT INFO
Reply With Quote
Sponsored Links