diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-01-29 10:33:38 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-29 10:33:38 +0000 |
commit | ce73cafcd4cf4fe1e637d9636780c3d3609998ca (patch) | |
tree | fefde623452feb70d8e01ec23f1c92bd510247bd /packages/slugos-init/slugos-init_0.10.bb | |
parent | 726cd5cea1eff14184731f709a5409da494f9dc3 (diff) |
slugos-init: update for new LEDs, turnup save/restore suppport in 0.10
- /sbin/leds is now a script which uses /sys/class/leds
All scripts are not in /sbin
/sbin/sysconf does SysConf reading and now implements save/restore
of the system configuration.
turnup, reflash and sysconfsetup use /sbin/sysconf as appropriate
Unused files removed
Diffstat (limited to 'packages/slugos-init/slugos-init_0.10.bb')
-rw-r--r-- | packages/slugos-init/slugos-init_0.10.bb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/slugos-init/slugos-init_0.10.bb b/packages/slugos-init/slugos-init_0.10.bb index 268ee1a8b7..8ec69e88f1 100644 --- a/packages/slugos-init/slugos-init_0.10.bb +++ b/packages/slugos-init/slugos-init_0.10.bb @@ -1,12 +1,12 @@ DESCRIPTION = "SlugOS initial network config via sysconf" -SECTION = "console/network" +SECTION = "base" +PRIORITY = "required" LICENSE = "GPL" DEPENDS = "base-files devio" RDEPENDS = "busybox devio" -PR = "r48" +PR = "r49" -SRC_URI = "file://linuxrc \ - file://boot/flash \ +SRC_URI = "file://boot/flash \ file://boot/disk \ file://boot/nfs \ file://boot/ram \ @@ -22,6 +22,8 @@ SRC_URI = "file://linuxrc \ file://initscripts/umountinitrd.sh \ file://functions \ file://conffiles \ + file://sysconf \ + file://leds \ file://turnup \ file://reflash \ file://links.conf \ @@ -30,7 +32,7 @@ SRC_URI = "file://linuxrc \ SBINPROGS = "" USRSBINPROGS = "" CPROGS = "${USRSBINPROGS} ${SBINPROGS}" -SCRIPTS = "turnup reflash" +SCRIPTS = "turnup reflash leds sysconf" BOOTSCRIPTS = "flash disk nfs ram network udhcpc.script" INITSCRIPTS = "syslog.buffer syslog.file syslog.network zleds\ leds_startup rmrecovery sysconfsetup umountinitrd.sh" @@ -78,7 +80,7 @@ do_install() { # Shell scripts for p in ${SCRIPTS} do - install -m 0755 $p ${D}${sbindir}/$p + install -m 0755 $p ${D}${base_sbindir}/$p done # @@ -122,7 +124,7 @@ pkg_postinst_slugos-init() { update-rc.d $opt sysconfsetup start 12 S . update-rc.d $opt syslog.file start 39 S . start 47 0 6 . update-rc.d $opt syslog.network start 44 S . start 39 0 6 . - update-rc.d $opt zleds start 99 S 1 2 3 4 5 . stop 5 0 1 2 3 4 5 6 . + update-rc.d $opt zleds start 99 S 1 2 3 4 5 . start 89 0 6 . stop 5 0 1 2 3 4 5 6 . update-rc.d $opt rmrecovery start 99 1 2 3 4 5 . # bug fix for startup update-rc.d $opt leds_startup start 1 1 2 3 4 5 . |