William Hubbs
3470eda3f5
Rename runscript to openrc-run
...
This was requested by Debian, because the minicom software, which is
available on Debian and other distros, has a binary named runscript. We
are keeping a backward compatibility symlink for now, but this allows
Debian or any other distro to safely remove the symlink.
X-Gentoo-Bug: 494220
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
2013-12-29 22:57:31 -06:00
William Hubbs
60d288a877
remove type command
...
The posix equivalent of the type command is "command -v", so now we use
that. Thanks to Jonathan Callen <jcallen@gentoo.org> for informing me
wrt the fix.
2013-12-02 02:08:40 -06:00
Andrew Gregory
8a44067838
Fix shebangs in services to point to the correct location of runscript
...
SBINDIR and BINDIR can be set independently of PREFIX. This fixes
broken shebangs in service files when SBINDIR is set to something other
than PREFIX/sbin
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2013-02-23 20:30:39 -06:00
Mike Frysinger
9a539ebbe1
further clean up OS differences in makefiles
...
No need for if() logic.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-10-20 14:32:37 -05:00
William Hubbs
ecf77254bb
consolodate Makefiles
...
The tree contained many operating system specific Makefiles which were
being included in other Makefiles. This commit removes those and adds
the code to the makefiles which included them using make's conditional
processing.
X-Gentoo-Bug: 387441
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
2011-10-18 03:23:00 -05:00
Mike Frysinger
d0bc4f20ad
drop useless "All rights reserved" notice
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29 19:46:31 -04:00
Mike Frysinger
faa2df1159
more whitespace cleanup
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17 04:49:12 -05:00
Roy Marples
a8f6a9b654
Add new utility and init script swclock that sets the system time based on
...
the mtime of a file. It saves the shutdown time to this file also.
This is handy for systems without a working RTC chip.
Based on an idea by Michael A. Smith <michael@smith-li.com>.
Fixes Gentoo #272073 .
2009-10-13 08:03:45 +01:00
Roy Marples
889b317ac6
Fix wpa_supplicant to find wireless interfaces on newer kernels.
...
Fixes #176 .
2009-07-01 00:24:08 +01:00
Roy Marples
b4104957b1
We should use -feature instead of nofeature.
...
This matches the ifconfig and Gentoo USE flag syntax and is hopefully
easier to read.
Fixes #178 .
2009-07-01 00:07:32 +01:00
Roy Marples
0aabe32375
Enable wpa_supplicant for >1 wireless interface if found.
2009-05-06 16:47:37 +01:00
Roy Marples
658a220638
Add (c) to Copyright
2009-05-01 15:11:40 +01:00
Roy Marples
3d43fb6f22
Although the noshutdown keyword is nice, we shouldn't use it for network or dhcpcd. Instead fake network shutdown so it comes back up correctly at boot and KILL dhcpcd to preserve network.
2009-04-27 13:33:37 +00:00
Roy Marples
0f70279f89
Set correct prefix
2009-04-27 12:12:42 +00:00
Roy Marples
71062f479a
Add noshutdown to dhcpcd and wpa_supplicant. Tweak for style.
2009-04-27 12:06:54 +00:00
Roy Marples
1a2d81751d
Support BSDs
2009-04-18 00:56:26 +00:00
Roy Marples
966ecb24da
Add net dependency
2009-04-16 21:02:46 +00:00
Roy Marples
34fbf3db2f
Add scripts for dhcpcd and wpa_supplicant.
2009-03-05 20:41:07 +00:00
Roy Marples
2c98c5326a
Punt .gitignore files.
2008-12-04 12:12:09 +00:00
Roy Marples
75f991068d
Fix multi platform a little.
2008-04-28 12:48:20 +00:00
Mike Frysinger
e1b09daaac
fix broken whitespace -- no functional changes
2008-03-23 12:24:15 +00:00
Roy Marples
6159a32f39
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
2008-03-19 19:57:24 +00:00
Roy Marples
a689b66023
Add tunable SYSCONFDIR
2008-03-05 12:27:11 +00:00
Roy Marples
b614477948
Fix ignore files some more.
2008-03-03 13:31:25 +00:00
Roy Marples
61c476e72d
Use exlicit make targets, not directory contents.
2008-03-03 12:34:51 +00:00
Roy Marples
67c5fd6bb8
Ensure that our scripts call prefixed runscript.
2008-03-02 21:14:01 +00:00
Roy Marples
2fa0b9184d
openvpn needs localmount
2008-01-23 12:08:52 +00:00
Roy Marples
6b4e645c2c
/var/empty isn't a fixed requirement for sshd
2008-01-12 12:01:23 +00:00
Roy Marples
e4e18d21ed
Fix some syslogd pidfile and installing support scripts.
2008-01-11 21:54:33 +00:00
Roy Marples
fec312d448
Update copyrights, my email and license.
2008-01-11 15:31:10 +00:00
Roy Marples
6b41b65008
Remove vim settings.
2008-01-11 12:18:05 +00:00
Roy Marples
1f4422c72f
Remove full license text from shell cripts.
2008-01-11 11:45:59 +00:00
Roy Marples
13c552c3ec
Allow OS to define default package locations.
2008-01-11 10:55:36 +00:00
Roy Marples
afdcf1fa15
udev requires try function and the modules-update program should take care of any 2.4 vs 2.6 kernel issues. Also add vim instructions to a few files.
2007-12-14 20:09:53 +00:00
Roy Marples
584cea1f8e
Add some avahi scripts
2007-12-14 15:49:25 +00:00
Roy Marples
9f2403dffa
Remove Gentoo copyright from all files that I know I have written
2007-12-14 14:12:38 +00:00
Roy Marples
d3436344ee
Don't exit in functions.
2007-12-06 10:49:11 +00:00
Roy Marples
16ad975b2d
Allow services to define which extra commands require the service to be started
2007-11-29 16:23:59 +00:00
Roy Marples
f796ad463d
Load the tun/tap modules on BSD
2007-11-28 16:12:45 +00:00
Roy Marples
ac9279cc0d
Massive whitespace cleanup
2007-11-28 15:45:03 +00:00
Roy Marples
d651155b61
Sanitize our PATH a bit better, and terminate it correctly in start-stop-daemon.
2007-11-28 13:40:15 +00:00
Roy Marples
33852baf52
Fix version and depend on ntpdate too
2007-11-23 14:25:35 +00:00
Roy Marples
173825d658
Add polkitd init script
2007-11-23 12:46:03 +00:00
Roy Marples
2c5d32d334
Add hald init script
2007-11-23 12:40:52 +00:00
Roy Marples
a9b33949ed
Add dbus init script
2007-11-23 12:37:11 +00:00
Roy Marples
c647e2588d
Add sshd init script
2007-11-23 12:30:45 +00:00
Roy Marples
81d508b0b5
Add dnsmasq init script
2007-11-23 12:08:25 +00:00
Roy Marples
d81def80b0
Move /etc/conf.d/rc to /etc/rc.conf.
...
Lowercase all configurable variables, non configurations remain uppercase.
Replace rc_env_bool with rc_yesno.
Split localmount info procfs (Linux) and dumpon, savecore (BSD)
2007-11-23 12:04:11 +00:00