/[baselayout]/branches/baselayout-1_12/sbin/functions.sh
Gentoo

Log of /branches/baselayout-1_12/sbin/functions.sh

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 2091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 21:13:31 2006 UTC (8 years, 2 months ago) by uberlord
File length: 18926 byte(s)
Diff to previous 2047
    {start,stop}_volumes moved to rc and halt.sh respectively.

    net services are now depended upon more correctly.

Revision 2047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 09:58:08 2006 UTC (8 years, 3 months ago) by uberlord
File length: 19247 byte(s)
Diff to previous 2046
Really fix is_xenU_sys, #134571 thanks to Stefan Hellermann.

Revision 2046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 19:27:27 2006 UTC (8 years, 3 months ago) by uberlord
File length: 19226 byte(s)
Diff to previous 2042
    Ensure that we call halt.sh in a new shell with LC_ALL=C so that we don't
    load any locale information which may stop us unmounting /usr, #128848
    and #133090.

    Don't set clock for OpenVZ systems, #133265 thanks to Kir Kolyshkin.

    Don't remount / in checkroot for unionfs /, #129975 thanks to Daniel.

    Don't stop net interfaces / is unionfs and a branch is network mounted.

Revision 2042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 16:10:53 2006 UTC (8 years, 3 months ago) by uberlord
File length: 19016 byte(s)
Diff to previous 2041
Take vapiers advice and test is capabilities exists as it may not in the future

Revision 2041 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 12:01:13 2006 UTC (8 years, 3 months ago) by uberlord
File length: 18969 byte(s)
Diff to previous 2040
Better grep for is_xenU_sys

Revision 2040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 10:11:15 2006 UTC (8 years, 3 months ago) by uberlord
File length: 18970 byte(s)
Diff to previous 2033
Always report Xen domU domains correctly, #107976.

Revision 2033 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 13 15:13:17 2006 UTC (8 years, 3 months ago) by vapier
File length: 18956 byte(s)
Diff to previous 2027
remove daemontools SVCDIR #133171

Revision 2027 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 6 01:02:40 2006 UTC (8 years, 4 months ago) by vapier
File length: 19003 byte(s)
Diff to previous 2017
Fix typo s/veend/vewend/ in functions.sh as reported by Yoshino #132262.

Revision 2017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 29 07:09:44 2006 UTC (8 years, 4 months ago) by vapier
File length: 19002 byte(s)
Diff to previous 1954
Tweak is_older_than than so it skips checking the timestamps on directories, just the files in the directory.

Revision 1954 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 09:43:42 2006 UTC (8 years, 5 months ago) by uberlord
File length: 18993 byte(s)
Diff to previous 1935
    runscript.sh now has a --nodeps option so that no depends are checked
    when starting and stopping a service.

    net.lo and system modules now support resolvconf instead of using our
    own internal system.

    DHCP and PPP clients no longer have helper scripts. As such they don't
    change service status at all. Moved helpers.d/functions back into net.lo

    Moved {get,save}_options from functions.sh to rc-services.sh

    Removed whole load of crud from hostname init script, fixes #38172 again
    and #122794. Also, it's no longer a critical service as defined by rc.

    Added net modules for ccwgroup (s390 qeth ethernet) and br2684ctl
    (speedtouch usb).

    Removed xargs and find from all net scripts as /usr maybe net mounted,
    #107260.

    Punted the domainname script. Functionality has been in conf.d/net so you
    can do this.

    ppd module now checks to see if link exists if prefixed with /, #126916.

Revision 1935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 2 17:34:25 2006 UTC (8 years, 6 months ago) by uberlord
File length: 19199 byte(s)
Diff to previous 1914
    $myservice is now deprecated for init scripts.
    $SVCNAME should be used instead and is read-only so it cannot be
    clobbered.

    Several variables in global scope that provided functions rely on,
    such as BOOTLEVEL, SOFTLEVEL and svcdir are now read only for init
    scripts.

    depscan.sh now accepts the --svcdir option so that svcdir can now be
    specified as the variable is marked readonly in functions.sh. Splash
    programs will have to be updated.

Revision 1914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 23:57:16 2006 UTC (8 years, 6 months ago) by vapier
File length: 18896 byte(s)
Diff to previous 1855
Add patch by Alun Jones to respect RC_QUIET_STDOUT in conf.d/rc #123606.

Revision 1855 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 02:35:22 2006 UTC (8 years, 6 months ago) by vapier
File length: 18878 byte(s)
Diff to previous 1817
Update xen checks #96240 by Tuan Van and #107976 by Chris Bainbridge.

Revision 1817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 08:47:03 2006 UTC (8 years, 7 months ago) by vapier
File length: 18858 byte(s)
Diff to previous 1793
add fuse to NET_FS_LIST #118552

Revision 1793 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 6 14:49:52 2006 UTC (8 years, 7 months ago) by uberlord
File length: 18853 byte(s)
Diff to previous 1781
    Use ${DEFAULTLEVEL} if ${SOFTLEVEL} is boot, shutdown, reboot or single
    in add_suffix.

    Sync style changes in functions.sh

Revision 1781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 18:46:45 2006 UTC (8 years, 8 months ago) by vapier
File length: 18617 byte(s)
Diff to previous 1768
update copyright years

Revision 1768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 21 11:11:28 2005 UTC (8 years, 8 months ago) by uberlord
File length: 18617 byte(s)
Diff to previous 1630
    Add new variable RC_DOWN_INTERFACE and documentation so that interfaces
    are kept up for Wake On LAN support, #113880.

Revision 1630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 27 16:39:03 2005 UTC (8 years, 9 months ago) by vapier
File length: 18573 byte(s)
Diff to previous 1600
Dont set default RC_VOLUME_ORDER anymore in functions.sh #113700.

Revision 1600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 7 19:43:20 2005 UTC (8 years, 9 months ago) by uberlord
File length: 18626 byte(s)
Diff to previous 1587
Always setup_defaultlevels as we need the default vars set for rc-status.

Revision 1587 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 27 16:16:03 2005 UTC (8 years, 10 months ago) by uberlord
File length: 18491 byte(s)
Diff to previous 1578
    New net scripts depend calls - functions, variables and provide.
    This saves having to create 3 seperate functions in each module which means
    a saving of around 600-800 bytes per module.

    Split apipa out of arping module due to user demand for seperate
    functionality.

    arping module now works correctly.

    runscript sets RC_KILL_CHILDREN=no when restarting a service, otherwise
    things like your ssh session get killed.

    adsl module supports new rp-pppoe-3.6 ebuild, #102820

    Config profile is now changed correctly when doing 'rc foo' and you're in
    the default runlevel, #101105


Revision 1578 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 19 00:08:42 2005 UTC (8 years, 10 months ago) by vapier
File length: 18497 byte(s)
Diff to previous 1550
move NORMAL to the last colored variable set so that running `set -x ; source functions.sh` doesnt show up funky as pointed out by solar

Revision 1550 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 24 01:41:34 2005 UTC (8 years, 11 months ago) by vapier
File length: 18497 byte(s)
Diff to previous 1418
tweak how default values are set for rc variables

Revision 1418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 18 09:45:13 2005 UTC (9 years ago) by uberlord
File length: 18212 byte(s)
Diff to previous 1415
RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP

consoletype is now cached. This has the benefit of being very slightly
faster and you now get coloured text for parallel startup

Parallel startup also does parallel shutdown as well

You're now warned if you're using a deprecated conf.d/net syntax

Revision 1415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 16 02:43:27 2005 UTC (9 years ago) by vapier
File length: 18036 byte(s)
Diff to previous 1396
add ocfs2 to the NET_FS_LIST #102659

Revision 1396 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 10 22:36:34 2005 UTC (9 years ago) by vapier
File length: 18030 byte(s)
Diff to previous 1298
add info for RC_BOOTLOG

Revision 1298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 14 10:59:34 2005 UTC (9 years, 1 month ago) by azarah
File length: 18009 byte(s)
Diff to previous 1261
Branch baselayout-1.12.

Revision 1261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 29 02:02:01 2005 UTC (9 years, 2 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 18009 byte(s)
Diff to previous 1249
add davfs to the net filter list

Revision 1249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 20 04:01:43 2005 UTC (9 years, 2 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 18007 byte(s)
Diff to previous 1242
make sure /proc/cmdline is readable in get_bootconfig()

Revision 1242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 16 23:08:11 2005 UTC (9 years, 2 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17971 byte(s)
Diff to previous 1208
import Xen support

Revision 1208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 31 22:54:43 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17764 byte(s)
Diff to previous 1205
add a generic framework for bootlogging


Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 15:00:30 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/sbin/functions.sh
File length: 17645 byte(s)
Diff to previous 1202
fixup is_net_fs to work with /proc/mounts when available


Revision 1202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 10:28:42 2005 UTC (9 years, 3 months ago) by uberlord
Original Path: trunk/sbin/functions.sh
File length: 17513 byte(s)
Diff to previous 1196
is_net_fs now works with what $1 was mounted as, not would it would
be remounted as - fixes #53104


Revision 1196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 26 00:35:48 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17440 byte(s)
Diff to previous 1150
filter gfs in the net fs list #93911 by Thomas Rasch


Revision 1150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 15 20:08:44 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17436 byte(s)
Diff to previous 1147
style updates


Revision 1147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 21:39:16 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17426 byte(s)
Diff to previous 1136
rework the addon code abit to support profiling


Revision 1136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 20:35:07 2005 UTC (9 years, 3 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17219 byte(s)
Diff to previous 1125
simplify init.d syntax checking and allow users to run /etc/init.d/script status #85892


Revision 1125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 3 18:41:27 2005 UTC (9 years, 4 months ago) by uberlord
Original Path: trunk/sbin/functions.sh
File length: 17669 byte(s)
Diff to previous 1122
changed default indentation to 2 spaces to match rcscripts in functions.sh

wpa_supplicant now stops wpa_cli before wpa_supplicant to fix a potential
future error


Revision 1122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 30 06:34:59 2005 UTC (9 years, 4 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 17669 byte(s)
Diff to previous 1077
Fixor column/color logic for when used in portage.


Revision 1077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 8 17:13:43 2005 UTC (9 years, 4 months ago) by uberlord
Original Path: trunk/sbin/functions.sh
File length: 17670 byte(s)
Diff to previous 1010
added a bash_variable to functions.sh which converts the given string
into a variable that bash can use - fixes #88175

net scripts can only launch if we're not in ${BOOTLEVEL}


Revision 1010 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 20:45:03 2005 UTC (9 years, 6 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 17435 byte(s)
Diff to previous 1001
Add requote() for rc-daemon.sh to use; fix ChangeLog corruption


Revision 1001 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 25 20:04:26 2005 UTC (9 years, 6 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 17071 byte(s)
Diff to previous 993
whitespace fixes


Revision 993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 15:33:29 2005 UTC (9 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 17185 byte(s)
Diff to previous 992
Localize the addons.


Revision 992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 15:27:31 2005 UTC (9 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 17181 byte(s)
Diff to previous 990
Localize the addons.


Revision 990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 14:32:27 2005 UTC (9 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 17174 byte(s)
Diff to previous 989
Split *_volume() stuff a bit more.


Revision 989 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 13:55:09 2005 UTC (9 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 16860 byte(s)
Diff to previous 928
Add {start,stop}-volumess() to /sbin/functions.sh, as well as
RC_VOLUME_ORDER to /etc/conf.d/rc.


Revision 928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 10 00:55:03 2005 UTC (9 years, 6 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 16173 byte(s)
Diff to previous 926
copyright update


Revision 926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 10 00:49:16 2005 UTC (9 years, 6 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 16173 byte(s)
Diff to previous 920
import some VServer stuff #55973


Revision 920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 7 18:39:47 2005 UTC (9 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15917 byte(s)
Diff to previous 876
Fix /sbin/functions.sh not to run stty during 'emerge depend'.


Revision 876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 30 19:18:13 2005 UTC (9 years, 7 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15746 byte(s)
Diff to previous 811
use pure bash instead of awk ... thanks to ciaranm for holding my hand


Revision 811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 23 19:38:30 2004 UTC (9 years, 8 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15851 byte(s)
Diff to previous 795
BSD compat fix


Revision 795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 16 01:36:17 2004 UTC (9 years, 8 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15950 byte(s)
Diff to previous 781
RC_USE_FSTAB support


Revision 781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 12 23:48:09 2004 UTC (9 years, 8 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15942 byte(s)
Diff to previous 768
tweak get_mount_fstab to be more error resistant


Revision 768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 13:15:21 2004 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/sbin/functions.sh
File length: 15813 byte(s)
Diff to previous 735
removed is_in_fstab function and replaced with get_mount_fstab which
returns a mount command based on the contents of fstab. Resolves bugs
#70044 and #73762


Revision 735 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 3 03:56:17 2004 UTC (9 years, 9 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15687 byte(s)
Diff to previous 730
make the config file update checking better #71285


Revision 730 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 1 04:44:31 2004 UTC (9 years, 9 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15296 byte(s)
Diff to previous 678
let users override hardcode mount options (for like /proc /sys /dev/pts etc...) with /etc/fstab #70044


Revision 678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 03:48:56 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15087 byte(s)
Diff to previous 677
Restore -nc which I inadvertently removed when backing out rev 1.74


Revision 677 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 03:44:17 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15081 byte(s)
Diff to previous 676
Fix shell scripting errors that would result in /sbin/functions.sh: line 166: [: too many arguments.  These errors were introduced in revision 1.74 of functions.sh


Revision 676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 03:16:17 2004 UTC (9 years, 9 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15087 byte(s)
Diff to previous 660
Fix shell scripting error that would result in /sbin/functions.sh: line 166: [: too many arguments


Revision 660 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 13:49:59 2004 UTC (9 years, 10 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15087 byte(s)
Diff to previous 653
fix syntax error #69789


Revision 653 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 31 11:27:38 2004 UTC (9 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15085 byte(s)
Diff to previous 651
Move all functions in above end code and add comment


Revision 651 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 29 13:07:34 2004 UTC (9 years, 10 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 13975 byte(s)
Diff to previous 635
accept -nc as a short option to --nocolor #64736.  also change $* to $@.


Revision 635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 19:05:52 2004 UTC (9 years, 10 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 13969 byte(s)
Diff to previous 634
unify all the uml checks into one function, is_uml_sys()


Revision 634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 20 12:56:14 2004 UTC (9 years, 10 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 13769 byte(s)
Diff to previous 625
more network filesystems


Revision 625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 23:03:19 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 13760 byte(s)
Diff to previous 622
Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
depend on RC_VERBOSE which defaults to no. Add --verbose to args
understood by runscript.sh.

Use veinfo and friends in net-scripts/init.d/net.lo when loading
modules since this information is confusing to users.

Always load global "modules" setting in following "modules_iface"
since this is a little easier for users to understand.


Revision 622 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 14:06:47 2004 UTC (9 years, 10 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 13145 byte(s)
Diff to previous 609
add shfs to our net filesystems list


Revision 609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 14 00:15:39 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 13140 byte(s)
Diff to previous 608
Minor addition to previous commit -- use ... by default when RC_DOT_PATTERN is unset


Revision 608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 14 00:03:45 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 13115 byte(s)
Diff to previous 605
Spanky doesn't like the dots... disable them by default, but you can set RC_DOT_PATTERN=' .' in /etc/conf.d/rc to get them back


Revision 605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 13 17:13:49 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 12976 byte(s)
Diff to previous 602
Install net.modules.d to /lib/rcscripts instead of /etc so we
don't have to deal with CONFIG_PROTECT

Fix diff code in modules_load so it can identify which functions
have been modified

Fix fallback mechanism in iface_start so that it works correctly
and doesn't report a bogus error message when trying the fallback

Get rid of need_begin trickery in iface_stop

Simplify eend processing in dhcp modules

Implement eindent, eoutdent, esetdent in functions.sh and adjust
net-scripts to use them.

Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
RC_INDENTATION and to work better on serial terminals

Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp


Revision 602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 03:11:48 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 12121 byte(s)
Diff to previous 592
Create NET_FS_LIST and is_net_fs in functions.sh and use them in checkroot, localmount, netmount, net.example, and net.lo


Revision 592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 6 01:27:31 2004 UTC (9 years, 10 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11673 byte(s)
Diff to previous 587
let RC_NOCOLOR be set in the environment


Revision 587 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 5 21:37:52 2004 UTC (9 years, 10 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 11658 byte(s)
Diff to previous 585
Get rid of getcols() in sbin/functions.sh. Use COLUMNS when possible and otherwise clean up the COLS code. Fix the "emerge depend" detection code to use RC_ENDCOL="no"


Revision 585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 5 03:21:05 2004 UTC (9 years, 11 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11578 byte(s)
Diff to previous 574
/proc/cmdline may exist but not be readable for non-root users


Revision 574 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 2 05:38:28 2004 UTC (9 years, 11 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11578 byte(s)
Diff to previous 565
break the serial console / no color logic up completely and remove the console resizing code (#32453)


Revision 565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 26 13:55:42 2004 UTC (9 years, 11 months ago) by kugelfang
Original Path: trunk/sbin/functions.sh
File length: 11594 byte(s)
Diff to previous 564
Forgot to remove CONF_LIBDIR="" before commiting :-/


Revision 564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 26 13:48:35 2004 UTC (9 years, 11 months ago) by kugelfang
Original Path: trunk/sbin/functions.sh
File length: 11610 byte(s)
Diff to previous 563
Added get_libdir().


Revision 563 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 00:26:44 2004 UTC (9 years, 11 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11291 byte(s)
Diff to previous 561
rework the $COLS logic


Revision 561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 19 19:51:25 2004 UTC (9 years, 11 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11316 byte(s)
Diff to previous 560
make sure our $COLS variable is set sanely when dealing with serial consoles and other similar tty devices


Revision 560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 19 05:39:28 2004 UTC (9 years, 11 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11186 byte(s)
Diff to previous 541
white space fixes


Revision 541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 06:39:42 2004 UTC (10 years ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 11323 byte(s)
Diff to previous 539
fix copyright lines


Revision 539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 20:35:37 2004 UTC (10 years ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 11331 byte(s)
Diff to previous 537
Apply Spock's bootsplash patch from bug 45784.  This moves most of the splash functionality out of baselayout.


Revision 537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 15:23:03 2004 UTC (10 years ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15904 byte(s)
Diff to previous 526
Fix bug 60719 (request for better error messages from runscript) by allowing errors to show on the screen when they're encountered in wrap_rcscript


Revision 526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 1 22:55:30 2004 UTC (10 years, 1 month ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15930 byte(s)
Diff to previous 509
Apply half of spock's patch in bug 45784: Check for conf.d/bootsplash instead of conf.d/bootsplash.conf


Revision 509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 21 15:22:12 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15786 byte(s)
Diff to previous 485
rc-scripts-1.4.15.  Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh.  Fix bug 51626: wrong variable declaration at top of get_bootparam() in /sbin/functions.sh


Revision 485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 24 02:07:00 2004 UTC (10 years, 4 months ago) by agriffis
Original Path: trunk/sbin/functions.sh
File length: 15809 byte(s)
Diff to previous 484
Fix bug 29426 (gentoo should be able to boot with an empty /dev) with patch from Spanky.  The patch avoids redirection to /dev/null when it doesn't exit; this was breaking /sbin/rc


Revision 484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 21 17:09:18 2004 UTC (10 years, 4 months ago) by vapier
Original Path: trunk/sbin/functions.sh
File length: 15745 byte(s)
Diff to previous 465
update copyright years


Revision 465 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 15 20:01:09 2004 UTC (10 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15746 byte(s)
Diff to previous 462
Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
are used in scripts such as consolefonts, numlock, etc.  This should
close bug #39863.


Revision 462 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 8 11:42:21 2004 UTC (10 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15729 byte(s)
Diff to previous 427
Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
than install, as newer versions of install is located in /usr/bin.  This
closes bug #39648.


Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 26 17:48:23 2003 UTC (10 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15730 byte(s)
Diff to previous 422
Do not use depinfo_<scriptname>() functions to set rc_<type> variables, bug #24092


Revision 422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 19 00:12:51 2003 UTC (10 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15802 byte(s)
Diff to previous 420
More bootsplash fixes, bug #21019 (comment #21).


Revision 420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 16 22:24:00 2003 UTC (10 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 15288 byte(s)
Diff to previous 419
Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
and #16 from bug #21019).

Bootsplash coded did not play nice with boot profiles, so I fixed that
as well.  Some other style tweaks.


Revision 419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 14 19:03:15 2003 UTC (10 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 14876 byte(s)
Diff to previous 404
New release, version 1.4.3.11p2.  This add new bootsplash implementation, bug #21019.


Revision 404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 10 23:48:38 2003 UTC (11 years ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11105 byte(s)
Diff to previous 392
Fix get_bootparam() to check if /proc/cmdline exists


Revision 392 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 29 22:15:36 2003 UTC (11 years, 1 month ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11066 byte(s)
Diff to previous 389
check{root,fs} tweaks


Revision 389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 28 01:23:46 2003 UTC (11 years, 1 month ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11067 byte(s)
Diff to previous 388
adelie fixes, add better logger support


Revision 388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 22 21:07:08 2003 UTC (11 years, 1 month ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 10025 byte(s)
Diff to previous 382
Adelie updates and some other fixes


Revision 382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 19:16:28 2003 UTC (11 years, 1 month ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11056 byte(s)
Diff to previous 377
use uname -r to get kernel version, bug #23923


Revision 377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 16 19:19:05 2003 UTC (11 years, 1 month ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11076 byte(s)
Diff to previous 365
some fixes


Revision 365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 21 08:00:55 2003 UTC (11 years, 3 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11025 byte(s)
Diff to previous 362
bugfixes


Revision 362 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 20:30:05 2003 UTC (11 years, 3 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11009 byte(s)
Diff to previous 360
fix net.ppp0 issues for kppp; dependency fixes


Revision 360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 12 21:23:05 2003 UTC (11 years, 3 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11016 byte(s)
Diff to previous 359
some more fixes


Revision 359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 11 23:32:47 2003 UTC (11 years, 3 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 10991 byte(s)
Diff to previous 353
new release; supporting parallel startup and new dep system with many fixes


Revision 353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 27 20:17:15 2003 UTC (11 years, 4 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 10574 byte(s)
Diff to previous 345
updates from Rach


Revision 345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 6 16:28:27 2003 UTC (11 years, 5 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 10575 byte(s)
Diff to previous 344
various fixes; moved .c files to src


Revision 344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 30 10:12:56 2003 UTC (11 years, 5 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9998 byte(s)
Diff to previous 339
serial console fix


Revision 339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 11 03:31:45 2003 UTC (11 years, 5 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 10003 byte(s)
Diff to previous 334
fix /usr/bin/cut in /sbin/functions.sh


Revision 334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 9 09:06:23 2003 UTC (11 years, 5 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9916 byte(s)
Diff to previous 330
some updates and fixes


Revision 330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 15:45:35 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9288 byte(s)
Diff to previous 327
many fixes/optimizations


Revision 327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 27 13:36:42 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9288 byte(s)
Diff to previous 326
should prob quote as well


Revision 326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 27 10:35:07 2003 UTC (11 years, 6 months ago) by jhhudso
Original Path: trunk/sbin/functions.sh
File length: 9282 byte(s)
Diff to previous 324
Fixed bug where esyslog would allow nothing to be sent to logger,
making the system hang until ^D was typed (bug #16459)


Revision 324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 17 02:48:39 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9256 byte(s)
Diff to previous 323
bug fixes


Revision 323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 13 17:24:23 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9259 byte(s)
Diff to previous 322
portage fixes


Revision 322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 13 17:10:16 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9219 byte(s)
Diff to previous 321
portage fixes


Revision 321 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 12 23:10:00 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9219 byte(s)
Diff to previous 320
portage fixes


Revision 320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 12 23:03:37 2003 UTC (11 years, 6 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9185 byte(s)
Diff to previous 307
portage fixes


Revision 307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 20 00:51:11 2003 UTC (11 years, 7 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 9047 byte(s)
Diff to previous 297
misc fixes


Revision 297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 21:32:44 2003 UTC (11 years, 7 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 8154 byte(s)
Diff to previous 294
lot of changes; hopeful release of rc-scripts-1.4.3.0


Revision 294 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 2 22:20:02 2003 UTC (11 years, 8 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 6908 byte(s)
Diff to previous 293
small fixes and enhancements


Revision 293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 29 16:56:29 2002 UTC (11 years, 8 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 6276 byte(s)
Diff to previous 288
use 'usbfs' for kernel 2.5


Revision 288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 24 18:38:00 2002 UTC (11 years, 8 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 6055 byte(s)
Diff to previous 281
bug fix


Revision 281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 20:20:45 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 5788 byte(s)
Diff to previous 275
serial console fixes


Revision 275 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 29 06:04:34 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 5643 byte(s)
Diff to previous 273
move daemon stuff to rc-daemon.sh


Revision 273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 26 15:04:10 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 12490 byte(s)
Diff to previous 272
quote some variables


Revision 272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 26 12:32:29 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 12486 byte(s)
Diff to previous 271
add some flexiblity to net dependency


Revision 271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 25 22:24:08 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 12424 byte(s)
Diff to previous 266
import Adelie Cluster stuff


Revision 266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 18 13:07:02 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 12008 byte(s)
Diff to previous 248
change license


Revision 248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 14 15:42:36 2002 UTC (11 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 12018 byte(s)
Diff to previous 247
fixes; start-single-daemon


Revision 247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 13 19:20:23 2002 UTC (11 years, 10 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11092 byte(s)
Diff to previous 243
misc form updates


Revision 243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 29 17:31:01 2002 UTC (11 years, 11 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11145 byte(s)
Diff to previous 242
more fixes


Revision 242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 29 13:11:01 2002 UTC (11 years, 11 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11111 byte(s)
Diff to previous 229
bugfixes


Revision 229 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 28 18:03:08 2002 UTC (12 years ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11231 byte(s)
Diff to previous 228
revert.


Revision 228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 27 20:26:32 2002 UTC (12 years ago) by blizzy
Original Path: trunk/sbin/functions.sh
File length: 11266 byte(s)
Diff to previous 199
minor change in output of extra blank line in eend() in case of error


Revision 199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 17 19:20:37 2002 UTC (12 years, 1 month ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 11231 byte(s)
Diff to previous 191
near new release


Revision 191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 22:07:37 2002 UTC (12 years, 2 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 10005 byte(s)
Diff to previous 161
bugfixes and some new features


Revision 161 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Apr 5 23:18:27 2002 UTC (12 years, 5 months ago) by azarah
Original Path: trunk/sbin/functions.sh
File length: 4700 byte(s)
move to /sbin


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sticky Revision:

  ViewVC Help
Powered by ViewVC 1.1.20