]>
git.pld-linux.org Git - projects/rc-scripts.git/log
Jan Rękorajski [Mon, 9 Mar 2009 18:03:28 +0000 (18:03 +0000)]
- use is_fsmounted for checking mount points
- fix mtab entry for /dev/cpuset
svn-id: @10180
Jan Rękorajski [Mon, 9 Mar 2009 17:47:57 +0000 (17:47 +0000)]
- use /proc/mounts if available for checking mounted fs
svn-id: @10179
Jan Rękorajski [Mon, 9 Mar 2009 16:07:19 +0000 (16:07 +0000)]
- check if /proc and /sys are mounted before trying to mount them
svn-id: @10178
Jan Rękorajski [Mon, 9 Mar 2009 15:54:48 +0000 (15:54 +0000)]
- added is_fsmounted function to check if a given filesystem is mounted,
requires /bin/stat (i.e. coreutils >= 7.1-2)
svn-id: @10177
Tomasz Pala [Sun, 8 Mar 2009 15:48:00 +0000 (15:48 +0000)]
- rc.d/init.d/network calls "/sbin/ifup tnlcfg-$i boot" causing
awk: cannot open tnlcfg-tun0 (No such file or directory)
from ifup-post tnlcfg-tun0 (calling ifup-aliases without full $CONFIG path)
This fixes long lasting bug:
http://www.mail-archive.com/pld-devel-pl@lists.pld-linux.org/msg18413.html
http://www.mail-archive.com/pld-devel-pl@lists.pld-linux.org/msg11198.html
svn-id: @10176
Elan Ruusamäe [Fri, 6 Mar 2009 12:56:39 +0000 (12:56 +0000)]
- daemon() startup errors dump to stderr
svn-id: @10174
Elan Ruusamäe [Mon, 2 Mar 2009 12:39:24 +0000 (12:39 +0000)]
- no bashism, typo
svn-id: @10159
zbyniu [Mon, 2 Mar 2009 12:28:20 +0000 (12:28 +0000)]
- remount rootfs rw only if no option 'ro' in fstab
- hide remove errors on /etc/*mtab~* /fastboot etc
svn-id: @10158
Tomasz Pala [Fri, 27 Feb 2009 16:36:52 +0000 (16:36 +0000)]
- fixed exit status when no appropriate tools found
svn-id: @10150
Tomasz Pala [Fri, 27 Feb 2009 16:33:36 +0000 (16:33 +0000)]
- restored vconfig support for older iproute2 users
svn-id: @10149
Elan Ruusamäe [Wed, 25 Feb 2009 07:43:03 +0000 (07:43 +0000)]
- less indent by using return in functions
svn-id: @10146
Arkadiusz Miśkiewicz [Sat, 21 Feb 2009 12:43:13 +0000 (12:43 +0000)]
Comparsion correction.
svn-id: @10135
Arkadiusz Miśkiewicz [Fri, 20 Feb 2009 09:05:33 +0000 (09:05 +0000)]
Preparations for 0.4.1.27.
svn-id: @10133
Arkadiusz Miśkiewicz [Thu, 19 Feb 2009 20:03:34 +0000 (20:03 +0000)]
- 15 seems to be normal color on 16 and 256 color consoles
svn-id: @10132
Elan Ruusamäe [Thu, 19 Feb 2009 10:15:31 +0000 (10:15 +0000)]
- typo
svn-id: @10130
Tomasz Pala [Tue, 17 Feb 2009 17:23:47 +0000 (17:23 +0000)]
- added {waitname:+--name $waitname} to ssd, otherwise there's
no way to start qpopperd and qpoppersd both at the same time
/usr/sbin/qpoppersd already running.
- use long options names
svn-id: @10127
Tomasz Pala [Mon, 16 Feb 2009 01:07:53 +0000 (01:07 +0000)]
- keep one style of spacing, do not pollute sh with C-style comparision == operator
svn-id: @10124
Tomasz Pala [Mon, 16 Feb 2009 01:04:55 +0000 (01:04 +0000)]
- expand relative --pidfile to absolute /var/run path; ssd in killproc
has broken plenty of daemons including amavisd-new, apache and clamav
- dropped ancient /usr/X11R6/bin from $PATH
svn-id: @10123
Elan Ruusamäe [Thu, 12 Feb 2009 11:29:34 +0000 (11:29 +0000)]
- calculate default INIT_COL from terminal size
svn-id: @10122
Elan Ruusamäe [Thu, 12 Feb 2009 11:26:20 +0000 (11:26 +0000)]
- no hardcoded default in config for INIT_COL
svn-id: @10121
Elan Ruusamäe [Mon, 9 Feb 2009 19:59:26 +0000 (19:59 +0000)]
- typo
svn-id: @10115
Paweł Gołaszewski [Wed, 4 Feb 2009 20:28:47 +0000 (20:28 +0000)]
- makepid functionality to daemon function
svn-id: @10099
Elan Ruusamäe [Sun, 25 Jan 2009 14:58:13 +0000 (14:58 +0000)]
- LC_ALL=C for greps
svn-id: @10096
Elan Ruusamäe [Fri, 23 Jan 2009 15:03:35 +0000 (15:03 +0000)]
- local output for func internal vars
svn-id: @10095
Elan Ruusamäe [Fri, 23 Jan 2009 13:54:56 +0000 (13:54 +0000)]
- grepping pid from ps ax could be ambigous, use kill -0 for running-pid-check
svn-id: @10094
Elan Ruusamäe [Fri, 23 Jan 2009 13:45:11 +0000 (13:45 +0000)]
- revert unwanted commit
svn-id: @10093
Elan Ruusamäe [Fri, 23 Jan 2009 13:39:27 +0000 (13:39 +0000)]
- cleanup vi:syntax, not needed and doesn't work anyway (should be vim:ft if any)
svn-id: @10092
Elan Ruusamäe [Fri, 23 Jan 2009 13:34:03 +0000 (13:34 +0000)]
- force LC_ALL=C when grepping data from possibly localized program outputs
svn-id: @10091
Arkadiusz Miśkiewicz [Thu, 22 Jan 2009 09:06:14 +0000 (09:06 +0000)]
Mention GVRP option.
svn-id: @10090
Arkadiusz Miśkiewicz [Thu, 22 Jan 2009 09:02:23 +0000 (09:02 +0000)]
Update
svn-id: @10089
Arkadiusz Miśkiewicz [Thu, 22 Jan 2009 08:56:42 +0000 (08:56 +0000)]
Prefer vlan creation using iproute2, fallback to vconfig.
svn-id: @10088
Arkadiusz Miśkiewicz [Thu, 22 Jan 2009 08:56:24 +0000 (08:56 +0000)]
No need for special handling for vlans when downing master device.
svn-id: @10087
Arkadiusz Miśkiewicz [Thu, 22 Jan 2009 08:41:36 +0000 (08:41 +0000)]
vconfig no longer needed here.
svn-id: @10086
Arkadiusz Miśkiewicz [Thu, 22 Jan 2009 07:43:57 +0000 (07:43 +0000)]
Delete devices using iproute2.
svn-id: @10085
Jan Rękorajski [Mon, 5 Jan 2009 19:08:00 +0000 (19:08 +0000)]
- use noprefix mount option for cgroup cpuset
svn-id: @10050
Jan Rękorajski [Fri, 2 Jan 2009 19:01:02 +0000 (19:01 +0000)]
- removed reference to cpuset virtualization (feature long dead,
and no signs of resurrection)
svn-id: @10048
Jan Rękorajski [Fri, 2 Jan 2009 18:58:31 +0000 (18:58 +0000)]
- fix for /dev/cpuset mounted as cgroup -ocpuset
svn-id: @10047
Jan Rękorajski [Wed, 31 Dec 2008 19:26:37 +0000 (19:26 +0000)]
- updated
svn-id: @10045
Jan Rękorajski [Wed, 31 Dec 2008 19:25:12 +0000 (19:25 +0000)]
0.4.1.26
svn-id: @10044
Jakub Bogusz [Thu, 25 Dec 2008 07:08:57 +0000 (07:08 +0000)]
- optional argument in square brackets
svn-id: @10040
Elan Ruusamäe [Tue, 16 Dec 2008 19:00:17 +0000 (19:00 +0000)]
- add usage for killproc
- shift 2 is better than shift shift
svn-id: @10038
Elan Ruusamäe [Tue, 16 Dec 2008 18:55:36 +0000 (18:55 +0000)]
- try ssd for killproc. needs pidfile to work reliably
- what values to use for --retry?
svn-id: @10037
Elan Ruusamäe [Thu, 11 Dec 2008 17:04:33 +0000 (17:04 +0000)]
- display LVM VG stats after LVM has been initialized
svn-id: @10034
Jan Rękorajski [Tue, 9 Dec 2008 14:35:13 +0000 (14:35 +0000)]
- removed DevFS support
svn-id: @10030
Jan Rękorajski [Tue, 9 Dec 2008 14:31:09 +0000 (14:31 +0000)]
- udev-135-2 finally creates /dev/cpuset directory
- use cgroup fs in newer kernels
svn-id: @10029
Paweł Sikora [Thu, 4 Dec 2008 19:49:17 +0000 (19:49 +0000)]
- allow usb group to operate on /proc/bus/usb.
svn-id: @10022
Arkadiusz Miśkiewicz [Tue, 2 Dec 2008 07:14:18 +0000 (07:14 +0000)]
Leave default for kernel.
svn-id: @10020
Paweł Sikora [Tue, 2 Dec 2008 00:08:39 +0000 (00:08 +0000)]
- describe kernel.randomize_va_space feature.
svn-id: @10019
Arkadiusz Miśkiewicz [Sun, 30 Nov 2008 19:27:58 +0000 (19:27 +0000)]
Load 8021q module.
svn-id: @10016
Elan Ruusamäe [Sun, 30 Nov 2008 15:15:09 +0000 (15:15 +0000)]
- add --pidfile to status()
svn-id: @10014
Arkadiusz Miśkiewicz [Fri, 28 Nov 2008 16:09:35 +0000 (16:09 +0000)]
macvlan support.
svn-id: @10010
Jan Rękorajski [Thu, 27 Nov 2008 14:47:08 +0000 (14:47 +0000)]
- load dm-mod before using dmsetup in multipath case
svn-id: @10007
Elan Ruusamäe [Tue, 18 Nov 2008 13:40:44 +0000 (13:40 +0000)]
- catch missing device errors
svn-id: @9998
Elan Ruusamäe [Tue, 18 Nov 2008 13:26:15 +0000 (13:26 +0000)]
- it starts pppd right after connection
- with kernel or fixed firmware there's OK said after ATZ
svn-id: @9997
Elan Ruusamäe [Tue, 18 Nov 2008 13:24:08 +0000 (13:24 +0000)]
- add debug line (disabled)
svn-id: @9996
Elan Ruusamäe [Fri, 14 Nov 2008 01:23:41 +0000 (01:23 +0000)]
- use nls
svn-id: @9991
Elan Ruusamäe [Wed, 12 Nov 2008 23:27:16 +0000 (23:27 +0000)]
- dmsetup mknodes so the startup doesn't complain on missing nodes
svn-id: @9985
Elan Ruusamäe [Mon, 10 Nov 2008 00:46:40 +0000 (00:46 +0000)]
- output formatting cosmetics
svn-id: @9974
Elan Ruusamäe [Mon, 10 Nov 2008 00:15:32 +0000 (00:15 +0000)]
- no bashism
svn-id: @9973
Elan Ruusamäe [Wed, 5 Nov 2008 22:48:21 +0000 (22:48 +0000)]
- add --chdir to daemon()
svn-id: @9970
Elan Ruusamäe [Wed, 5 Nov 2008 22:39:28 +0000 (22:39 +0000)]
- -u is for stopping in ssd
svn-id: @9969
Elan Ruusamäe [Tue, 4 Nov 2008 20:04:53 +0000 (20:04 +0000)]
- update
svn-id: @9964
Elan Ruusamäe [Tue, 4 Nov 2008 20:04:33 +0000 (20:04 +0000)]
- wtf 0.4.1.24 was already there? bump to 0.4.1.25 then
svn-id: @9963
Elan Ruusamäe [Tue, 4 Nov 2008 19:57:07 +0000 (19:57 +0000)]
- somewhy have to svn up again after configure.ac commit
svn-id: @9962
Elan Ruusamäe [Tue, 4 Nov 2008 19:56:20 +0000 (19:56 +0000)]
- update
svn-id: @9961
Elan Ruusamäe [Tue, 4 Nov 2008 19:46:52 +0000 (19:46 +0000)]
- update
svn-id: @9960
Elan Ruusamäe [Tue, 4 Nov 2008 19:45:48 +0000 (19:45 +0000)]
- 0.4.1.24 release
svn-id: @9959
Elan Ruusamäe [Tue, 4 Nov 2008 18:07:58 +0000 (18:07 +0000)]
- LC_ALL was still overwritten with i18n value even if one had from ssh session
svn-id: @9958
Elan Ruusamäe [Wed, 29 Oct 2008 08:54:36 +0000 (08:54 +0000)]
- rip out -u <runas_user> -- it's bad concept and nothing should be using it anyway
svn-id: @9927
Elan Ruusamäe [Tue, 28 Oct 2008 00:09:41 +0000 (00:09 +0000)]
- add --test and -- to behave like debian run-parts(1)
svn-id: @9926
Tomasz Pala [Sun, 26 Oct 2008 13:43:28 +0000 (13:43 +0000)]
- introduce START_UDEV variable
svn-id: @9922
undefine [Sat, 25 Oct 2008 22:53:23 +0000 (22:53 +0000)]
- wpa is also usefull with not wireless devices - eg with 8021x.
- patch by Pawel Nogas <pnogas(AT)amu(DOT)edu(DOT)pl>
svn-id: @9921
radek [Sat, 25 Oct 2008 18:35:07 +0000 (18:35 +0000)]
- removed sed dependency
svn-id: @9920
radek [Sat, 25 Oct 2008 18:16:22 +0000 (18:16 +0000)]
- typo
svn-id: @9919
radek [Sat, 25 Oct 2008 18:14:41 +0000 (18:14 +0000)]
- support for automatic 6to4 tunnels
svn-id: @9918
Tomasz Pala [Mon, 13 Oct 2008 13:21:12 +0000 (13:21 +0000)]
- restored some backticks - pdksh has broken $(...) closing paren detection,
- added backtick-test.sh to test whenever this would be valid some day
svn-id: @9909
Tomasz Pala [Mon, 13 Oct 2008 01:04:44 +0000 (01:04 +0000)]
- unified function definitions (line-saving way),
- use unambiguous $(...) instead of backticks.
svn-id: @9908
Tomasz Pala [Sun, 12 Oct 2008 18:08:50 +0000 (18:08 +0000)]
- start-stop-daemon uses -c not -u to change UID
svn-id: @9907
Elan Ruusamäe [Tue, 16 Sep 2008 20:39:08 +0000 (20:39 +0000)]
- full set of samples for default terminals (default keymap doesn't allow you switch over 12)
svn-id: @9869
Elan Ruusamäe [Mon, 15 Sep 2008 08:23:10 +0000 (08:23 +0000)]
- you don't likely need so many terminals
svn-id: @9868
Elan Ruusamäe [Thu, 21 Aug 2008 19:57:06 +0000 (19:57 +0000)]
- update
svn-id: @9863
Arkadiusz Miśkiewicz [Thu, 7 Aug 2008 20:39:30 +0000 (20:39 +0000)]
Actually don't use -s option since dmesg uses klogctl() to retrieve real ring buffer size.
svn-id: @9860
Arkadiusz Miśkiewicz [Thu, 7 Aug 2008 20:36:11 +0000 (20:36 +0000)]
dump 524288 of dmesg data
svn-id: @9859
Arkadiusz Miśkiewicz [Thu, 24 Jul 2008 10:10:45 +0000 (10:10 +0000)]
Don't set net.ipv4.ip_local_port_range; use kernel default
svn-id: @9851
Arkadiusz Miśkiewicz [Thu, 24 Jul 2008 10:06:56 +0000 (10:06 +0000)]
Disable tcp syncookies by default (these disable SACK which according to DaveM 'sets TCP stack back by 10 years')
svn-id: @9850
Jakub Bogusz [Tue, 22 Jul 2008 17:39:03 +0000 (17:39 +0000)]
- proper encoding for de_DE
svn-id: @9849
shadzik [Thu, 17 Jul 2008 20:42:44 +0000 (20:42 +0000)]
- wpa_supplicant 0.6.3 doesn't have a "-w" option!!
svn-id: @9846
Paweł Gołaszewski [Tue, 10 Jun 2008 21:00:17 +0000 (21:00 +0000)]
- try last resort in setting MODEMPORT - compatibility change.
svn-id: @9801
Arkadiusz Miśkiewicz [Sun, 1 Jun 2008 11:28:17 +0000 (11:28 +0000)]
Export ISATTY. Calling this test from inside of initlog() return true even if output still goes into terminal. By exporting we make sure that initial test result is used for entire run of the script. Fixes wrong 'DONE' string alignment when bringin up dhcp.
svn-id: @9785
Arkadiusz Miśkiewicz [Thu, 22 May 2008 19:08:32 +0000 (19:08 +0000)]
Return can be only from function. Use exit.
svn-id: @9761
Elan Ruusamäe [Mon, 19 May 2008 06:21:16 +0000 (06:21 +0000)]
- tabs
svn-id: @9760
Elan Ruusamäe [Mon, 19 May 2008 06:20:53 +0000 (06:20 +0000)]
- try not to use initlog if $RC_LOGGING is off (avoits usleeps for each startup)
svn-id: @9759
Elan Ruusamäe [Mon, 19 May 2008 06:07:41 +0000 (06:07 +0000)]
- update
svn-id: @9758
Elan Ruusamäe [Mon, 19 May 2008 06:05:22 +0000 (06:05 +0000)]
- 0.4.1.23
svn-id: @9757
Elan Ruusamäe [Mon, 19 May 2008 06:04:31 +0000 (06:04 +0000)]
- add --pidfile to daemon()
svn-id: @9756
Elan Ruusamäe [Sun, 27 Apr 2008 02:00:33 +0000 (02:00 +0000)]
- disable log_success/log_failed when RC_LOGGING is off
svn-id: @9733
Elan Ruusamäe [Sun, 27 Apr 2008 01:34:02 +0000 (01:34 +0000)]
- utf8
svn-id: @9732
Elan Ruusamäe [Sun, 27 Apr 2008 01:33:42 +0000 (01:33 +0000)]
- utf8
svn-id: @9731
Elan Ruusamäe [Sun, 27 Apr 2008 01:29:37 +0000 (01:29 +0000)]
- outdated, use spec from cvs
svn-id: @9730
Elan Ruusamäe [Sun, 27 Apr 2008 01:24:00 +0000 (01:24 +0000)]
- utf8
svn-id: @9729
This page took 1.703838 seconds and 4 git commands to generate.