mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Update S95majestic
							parent
							
								
									e592fd8011
								
							
						
					
					
						commit
						994a0c21c9
					
				|  | @ -8,8 +8,6 @@ DAEMON_ARGS="-s" | ||||||
| 
 | 
 | ||||||
| load_majestic() { | load_majestic() { | ||||||
| 	printf 'Starting %s: ' "$DAEMON" | 	printf 'Starting %s: ' "$DAEMON" | ||||||
| 	[ -f $DAEMON_PATH/$DAEMON ] || echo -en "DISABLED, " |  | ||||||
| 
 |  | ||||||
| 	[ -f /etc/coredump.conf ] && . /etc/coredump.conf | 	[ -f /etc/coredump.conf ] && . /etc/coredump.conf | ||||||
| 	if [ "$coredump_enabled" ]; then | 	if [ "$coredump_enabled" ]; then | ||||||
| 		ulimit -c unlimited && echo "|/usr/sbin/sendcoredump.sh" >/proc/sys/kernel/core_pattern | 		ulimit -c unlimited && echo "|/usr/sbin/sendcoredump.sh" >/proc/sys/kernel/core_pattern | ||||||
|  | @ -33,7 +31,6 @@ start() { | ||||||
| 
 | 
 | ||||||
| stop() { | stop() { | ||||||
| 	printf 'Stopping %s: ' "$DAEMON" | 	printf 'Stopping %s: ' "$DAEMON" | ||||||
| 	[ -f $DAEMON_PATH/$DAEMON ] || echo -en "DISABLED, " |  | ||||||
| 	start-stop-daemon -K -q -p "$PIDFILE" | 	start-stop-daemon -K -q -p "$PIDFILE" | ||||||
| 	status=$? | 	status=$? | ||||||
| 	if [ "$status" -eq 0 ]; then | 	if [ "$status" -eq 0 ]; then | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue