5 changed files with 6 additions and 48 deletions
			
			
		| @ -1,23 +0,0 @@ | |||||
| #!/bin/sh |  | ||||
| # you can set options in /etc/profile.locale, variable SYSLOGD_OPTS |  | ||||
| # |  | ||||
| # without options and without /var/log (!), syslogd will simply |  | ||||
| # log to the console. If /var/log/ exists, it will log to /var/log/messages |  | ||||
| 
 |  | ||||
| . /etc/init.d/globals |  | ||||
| 
 |  | ||||
| case "$1" in |  | ||||
| 	start) |  | ||||
| 		/sbin/syslogd $SYSLOGD_OPTS |  | ||||
| 	;; |  | ||||
| 	stop) |  | ||||
| 		killall syslogd |  | ||||
| 	;; |  | ||||
| 	restart) |  | ||||
| 		$0 stop |  | ||||
| 		$0 start |  | ||||
| 	;; |  | ||||
| 	*) |  | ||||
| 		echo "[$BASENAME] Usage: $0 {start|restart|stop}" |  | ||||
| 	;; |  | ||||
| esac |  | ||||
| @ -1,23 +0,0 @@ | |||||
| #!/bin/sh |  | ||||
| # you can set options in /etc/profile.locale, variable SYSLOGD_OPTS |  | ||||
| # |  | ||||
| # without options and without /var/log (!), syslogd will simply |  | ||||
| # log to the console. If /var/log/ exists, it will log to /var/log/messages |  | ||||
| 
 |  | ||||
| . /etc/init.d/globals |  | ||||
| 
 |  | ||||
| case "$1" in |  | ||||
| 	start) |  | ||||
| 		/sbin/syslogd $SYSLOGD_OPTS |  | ||||
| 	;; |  | ||||
| 	stop) |  | ||||
| 		killall syslogd |  | ||||
| 	;; |  | ||||
| 	restart) |  | ||||
| 		$0 stop |  | ||||
| 		$0 start |  | ||||
| 	;; |  | ||||
| 	*) |  | ||||
| 		echo "[$BASENAME] Usage: $0 {start|restart|stop}" |  | ||||
| 	;; |  | ||||
| esac |  | ||||
					Loading…
					
					
				
		Reference in new issue