diff options
author | Christian Heim <phreak@gentoo.org> | 2007-05-17 09:07:35 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-05-17 09:07:35 +0000 |
commit | 93b3409c9c4dfb834e84cb5593f896354cc4d00b (patch) | |
tree | 08f044babb020c57857d1bc82ea2d29bd0ff32ee /sys-power | |
parent | Initial import. (diff) | |
download | historical-93b3409c9c4dfb834e84cb5593f896354cc4d00b.tar.gz historical-93b3409c9c4dfb834e84cb5593f896354cc4d00b.tar.bz2 historical-93b3409c9c4dfb834e84cb5593f896354cc4d00b.zip |
Updating the init-script to be busybox/dash compatible (thanks to Mike Arthur <mike at mikearthur.co.uk> in #178763).
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/cpufrequtils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/cpufrequtils/Manifest | 22 | ||||
-rw-r--r-- | sys-power/cpufrequtils/files/cpufrequtils-init.d | 5 |
3 files changed, 18 insertions, 15 deletions
diff --git a/sys-power/cpufrequtils/ChangeLog b/sys-power/cpufrequtils/ChangeLog index 9307b8263506..86b59c9a31f7 100644 --- a/sys-power/cpufrequtils/ChangeLog +++ b/sys-power/cpufrequtils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/cpufrequtils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.35 2007/05/17 09:02:01 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.36 2007/05/17 09:07:35 phreak Exp $ + + 17 May 2007; Christian Heim <phreak@gentoo.org> files/cpufrequtils-init.d: + Updating the init-script to be busybox/dash compatible (thanks to Mike + Arthur <mike at mikearthur.co.uk> in #178763). 17 May 2007; Christian Heim <phreak@gentoo.org> -files/cpufrequtils-001-conf.d, -files/cpufrequtils-001-init.d, diff --git a/sys-power/cpufrequtils/Manifest b/sys-power/cpufrequtils/Manifest index cd63e5ff1ab0..66e7e325506b 100644 --- a/sys-power/cpufrequtils/Manifest +++ b/sys-power/cpufrequtils/Manifest @@ -9,19 +9,19 @@ AUX cpufrequtils-conf.d 230 RMD160 999fc00d4a23749616da7ea4384661f7d55bb6e8 SHA1 MD5 6c70415e4039ec2dd91c5d5d6dc73783 files/cpufrequtils-conf.d 230 RMD160 999fc00d4a23749616da7ea4384661f7d55bb6e8 files/cpufrequtils-conf.d 230 SHA256 943c4eaf5f25fb4f70cd9b8174729266110ca729fb5be8fc0f89e992dd73feff files/cpufrequtils-conf.d 230 -AUX cpufrequtils-init.d 939 RMD160 eb2fa321d38c28026232a2313735d07e87915656 SHA1 544e863cc68ccc38c9466371a651f448ba471653 SHA256 cefe2eb1fa7f27b2ec4bb59df2acac23f02faa9c3622cb75597e77ca85614546 -MD5 f31f8f0affaadbaf630abc95e8f4fd08 files/cpufrequtils-init.d 939 -RMD160 eb2fa321d38c28026232a2313735d07e87915656 files/cpufrequtils-init.d 939 -SHA256 cefe2eb1fa7f27b2ec4bb59df2acac23f02faa9c3622cb75597e77ca85614546 files/cpufrequtils-init.d 939 +AUX cpufrequtils-init.d 927 RMD160 b52216be57c977e49c08417797fc7bdb8df2d28b SHA1 a981532f7c795b346ccfed29f6e0f6a878e25c3d SHA256 b098b04d76776884fcc8953ee2df54b9ac2b69b35cfe53d8f19d0b5a03a83b83 +MD5 7e2248f03d80a004881ac74e8081fd94 files/cpufrequtils-init.d 927 +RMD160 b52216be57c977e49c08417797fc7bdb8df2d28b files/cpufrequtils-init.d 927 +SHA256 b098b04d76776884fcc8953ee2df54b9ac2b69b35cfe53d8f19d0b5a03a83b83 files/cpufrequtils-init.d 927 DIST cpufrequtils-002.tar.bz2 35313 RMD160 da4477af89116d78cbe92e55247cee3f1d1b9f73 SHA1 843e75c28210dbdf58c7d9ae519047227a556899 SHA256 98be6a75f06c535d0acc6948bb1b923c7c400c038c433acfa074c14c89edc39b EBUILD cpufrequtils-002-r2.ebuild 1223 RMD160 9094bb659a55db1bcd3734738e0503a481d1761d SHA1 3bd70eacb851d4c01482f77ce6d063d01afd8197 SHA256 0083b8ac9c78f19743ef78e35c668972cfdcd7809b019b0d46b783490a6bf405 MD5 c1a561f0ee8d6d4dc8fb2ebc444fdf40 cpufrequtils-002-r2.ebuild 1223 RMD160 9094bb659a55db1bcd3734738e0503a481d1761d cpufrequtils-002-r2.ebuild 1223 SHA256 0083b8ac9c78f19743ef78e35c668972cfdcd7809b019b0d46b783490a6bf405 cpufrequtils-002-r2.ebuild 1223 -MISC ChangeLog 5960 RMD160 68689e0152b18514fc50a1c5e0b99d270d6aeaae SHA1 05535a64d01e318c0d9292aa0c5123395ce2f67a SHA256 9b5e004d943bae5c0294670c2179d73f495e28e31453157a1aecf0733afac5e1 -MD5 a0e9f873071807887465bf10bc68f217 ChangeLog 5960 -RMD160 68689e0152b18514fc50a1c5e0b99d270d6aeaae ChangeLog 5960 -SHA256 9b5e004d943bae5c0294670c2179d73f495e28e31453157a1aecf0733afac5e1 ChangeLog 5960 +MISC ChangeLog 6160 RMD160 baaf45b14f355b6d7116a4f1c2e71607e77bbd2d SHA1 9b6300b02c98463bbc8e52c3e68bf721c43e958b SHA256 489f2a576e1c7bf10d54ca0751d29f972288acc7ab90521e1c06885880d8d97e +MD5 242a9421bdb0524c79674152ded440c0 ChangeLog 6160 +RMD160 baaf45b14f355b6d7116a4f1c2e71607e77bbd2d ChangeLog 6160 +SHA256 489f2a576e1c7bf10d54ca0751d29f972288acc7ab90521e1c06885880d8d97e ChangeLog 6160 MISC metadata.xml 160 RMD160 8521c3bd3ae0fb2bfddce5edb33fd31e223747e1 SHA1 194b7194f38673fe427e5893a42cd4c1506ce846 SHA256 b13062a43e40469b137e1206494a44b45755ea69511b64e5373cb1ce30bbb160 MD5 ef08587bc47655d768c868f586721d8e metadata.xml 160 RMD160 8521c3bd3ae0fb2bfddce5edb33fd31e223747e1 metadata.xml 160 @@ -32,7 +32,7 @@ SHA256 1739d5a4258b6f01934448fdf0f04915d43976bd1560cd519c83de9d83226cdb files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGTBoUyuNVb5qfaOYRAqV2AKDGjTrM8pJD26EsuGig3Hsi5+iTFACeMpde -JFA94yhz6NAWc/WQuVqOYKs= -=/hV0 +iD8DBQFGTBthyuNVb5qfaOYRAuszAJ9fknDKFE4r6WH5jfA7gYGih3+EWwCfdTea +O3aLeNFosDPhTXoPgZGaiec= +=WMLB -----END PGP SIGNATURE----- diff --git a/sys-power/cpufrequtils/files/cpufrequtils-init.d b/sys-power/cpufrequtils/files/cpufrequtils-init.d index 92685fb7a300..7330e85d52cd 100644 --- a/sys-power/cpufrequtils/files/cpufrequtils-init.d +++ b/sys-power/cpufrequtils/files/cpufrequtils-init.d @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d,v 1.1 2007/05/17 09:02:01 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d,v 1.2 2007/05/17 09:07:35 phreak Exp $ checkconfig() { if [ -z "${GOVERNOR}" ]; then @@ -22,8 +22,7 @@ affect_change() { local cpu n for cpu in /sys/devices/system/cpu/cpu[0-9]*; do - n=${cpu##*/} - n=${n/cpu/} + n=${cpu##*cpu} ebegin "${1} ${2} cpufreq governor on CPU${n}" cpufreq-set -c ${n} -g "${2}" |