Changeset 17571


Ignore:
Timestamp:
2009-09-11T23:35:03+02:00 (8 years ago)
Author:
jow
Message:

[package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts

Location:
trunk/package/base-files
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r17554 r17571  
    1010 
    1111PKG_NAME:=base-files 
    12 PKG_RELEASE:=28 
     12PKG_RELEASE:=29 
    1313 
    1414PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • trunk/package/base-files/files/etc/init.d/done

    r7173 r17571  
    1010        } 
    1111 
     12        # process user commands 
     13        [ -f /etc/rc.local ] && { 
     14                sh /etc/rc.local 
     15        } 
     16 
    1217        # set leds to normal state 
    1318        . /etc/diag.sh 
Note: See TracChangeset for help on using the changeset viewer.