Changeset 14938


Ignore:
Timestamp:
2009-03-18T14:05:18+01:00 (7 years ago)
Author:
mb
Message:

Allow running without "logger" installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/init.d/rcS

    r9607 r14938  
    11#!/bin/sh 
    22# Copyright (C) 2006 OpenWrt.org 
     3 
     4LOGGER="cat" 
     5[ -x /usr/bin/logger ] && LOGGER="logger -s -p 6 -t ''" 
    36 
    47{ 
     
    69                [ -x $i ] && $i $2 2>&1 
    710        done  
    8 } | logger -s -p 6 -t '' & 
     11} | $LOGGER & 
Note: See TracChangeset for help on using the changeset viewer.