Roy Marples
3d37005a3d
We now warn about clock skews
...
rc-update -u will force a regen of the dep tree
rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime
2009-01-12 23:53:13 +00:00
Roy Marples
36c53e7551
Keyword novserver, #137 .
2009-01-06 16:25:33 +00:00
Roy Marples
877a328179
dmesg and sysfs won't work in a vserver, #137 thanks to Hollow.
2009-01-01 14:27:29 +00:00
Roy Marples
22959c3963
Fix working on zsh
2008-12-30 00:05:17 +00:00
Roy Marples
2464f9e93b
Add parens, #134 thanks to Matthias Schwarzott.
2008-12-29 23:06:22 +00:00
Roy Marples
d91201cb94
Skip all forcefsck checking when stopping, #134 .
2008-12-28 15:25:40 +00:00
Roy Marples
1c5ec9d161
Fake get_bootparam function so that we don't check for kernel options forcefsck when doing an fsck on shutdown.
2008-12-28 14:49:07 +00:00
Roy Marples
2c98c5326a
Punt .gitignore files.
2008-12-04 12:12:09 +00:00
Roy Marples
df22978de9
Punt halt init script. sysvinit should install it. See Gentoo bug #246502 on how to handle this.
2008-11-12 16:28:07 +00:00
Roy Marples
0786141026
Restore interface_exists, interface_up and interface_exists, #123 .
2008-11-10 12:31:20 +00:00
Roy Marples
90d175ae27
Remove deprecated use of modprobe -l. If we need this functionaltiy back, we need to use something else, like say find.
2008-11-04 17:08:35 +00:00
Roy Marples
a178fd0f32
We should not update mtab here.
2008-11-04 17:07:32 +00:00
Roy Marples
a3d266e741
Use mount-ro
2008-11-04 11:32:07 +00:00
Roy Marples
42e6a95b1d
Move romount to mount-ro and use the umount -r option as it's more reliable for / --bind mounts, Gentoo #239922 . Thanks to Duncan.
2008-11-04 11:30:15 +00:00
Roy Marples
45044c9239
Typo
2008-11-04 11:28:24 +00:00
Roy Marples
cc14b55414
Now the linx fsck man page has return codes, I find them different from the BSD's so adjust accordingly.
2008-11-04 07:45:05 +00:00
Roy Marples
282ad4bae6
Add descriptions.
2008-11-03 16:16:12 +00:00
Roy Marples
0af7d5bc20
Add a new shutdown runlevel, Gentoo #224537 .
...
Split halt.sh into halt, killprocs, romount and savecache services.
The reboot runlevel is removed but mapped to shutdown.
The halt script should be moved to the sysvinit package.
2008-11-03 15:31:01 +00:00
Roy Marples
f6e3c167ae
Remove bash localisation feature, Gentoo #244444 thanks to Andrey Grozin.
2008-10-26 19:19:19 +00:00
Mike Frysinger
1d96620b84
hwclock: skip rtc checks if kernel lacks module support
...
Since we only use the result of the device scan to load modules, there is
no point in doing the scan if the kernel doesn't support modules in the
first place.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-26 07:09:02 +00:00
Roy Marples
734e60608a
Ignore new scripts.
2008-10-16 09:41:14 +00:00
Roy Marples
8d47d6c022
Fix fuser on BSD platforms.
2008-10-15 08:35:21 +00:00
Roy Marples
c18c74e816
Fix adding just the default route, #119 thanks to pva.
2008-10-14 15:27:52 +00:00
Roy Marples
10cb4c18df
Remove hardedcoded foo here.
2008-10-10 09:35:13 +00:00
Roy Marples
d6da8e8c48
sysinit is now a real runlevel that handles things like udev, dmesg and
...
mounting various bits in /dev and /sys.
init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems)
To make development of this easier we now return an empty RC_STRINGLIST
instead of a NULL for empty things.
If you don't have a udev init script installed, don't reboot your box OR
roll back to an older OpenRC version.
2008-10-10 08:37:21 +00:00
Roy Marples
1a88a43aa5
Warn about sulogin timeout and then continue as normal, Gentoo #240383
2008-10-09 16:34:21 +00:00
Roy Marples
a872fe5590
Fix status check, #239922
2008-10-08 18:32:39 +00:00
Roy Marples
5cdc489573
Fix utmp permissions, Gentoo #240437 .
2008-10-08 13:58:17 +00:00
Roy Marples
4e4c4a5bf4
kenv is not always available.
2008-10-03 17:50:30 +00:00
Roy Marples
5f76c1121a
Clean stale sockets.
2008-10-01 21:12:54 +00:00
Roy Marples
abe94bec6f
Load rtc-cmos if needed, Gentoo #235647 thanks to Robin Johnson.
2008-09-27 06:48:21 +00:00
Roy Marples
27805de20a
Allow forcefsck on the kernel command line, Gentoo #218431
2008-09-22 12:32:11 +00:00
Roy Marples
00d010fbe0
Work without IP6 kernels, #108
2008-08-29 06:43:54 +00:00
Roy Marples
01de348ede
Add rpc.lockd to netmount.in for BSD
2008-08-27 16:06:01 +00:00
Roy Marples
1f227d62bf
Allow renaming of modules, #103 thanks to Sven.
2008-08-19 15:25:06 +00:00
Roy Marples
cdace75539
OpenVZ can mount NFS shares.
2008-08-19 06:44:47 +00:00
Roy Marples
b15c4758f8
We should unmount / here.
2008-07-09 18:28:14 +00:00
Roy Marples
289889ebf0
Fix unmounting some more.
2008-07-09 17:05:10 +00:00
Roy Marples
7183cb1b18
Fix last commit
2008-07-09 16:20:48 +00:00
Roy Marples
b83108cd2e
Add a knob to avoid the unmounting of some points.
2008-07-09 16:08:38 +00:00
Roy Marples
1ca63447c9
Hide mkdir error's
2008-07-09 15:22:15 +00:00
Roy Marples
c2781c209e
Really test if we can write to RC_LIBDIR or not.
2008-07-09 15:12:56 +00:00
Roy Marples
5983add0f2
No point in re-mounting ro filesystems that are already ro.
2008-07-09 14:24:48 +00:00
Roy Marples
f2ea7ca514
Let ifdown control all interfaces.
2008-06-03 11:51:36 +00:00
Roy Marples
3a592fa31b
Trap fsck for SIGINT as well, so user can ctrl-C to abort fsck and continue, Gentoo #223473 .
2008-05-27 10:25:29 +00:00
Roy Marples
08081f7ef4
Fix passno and IFS, #77 and #85 , thanks to Nahor
2008-05-25 22:30:31 +00:00
Roy Marples
be8f8d0ac0
Add the devdb init script.
2008-05-12 15:11:04 +00:00
Roy Marples
2d75eb7976
netmount may use openvpn.
2008-05-10 11:09:52 +00:00
Roy Marples
766ec96e3d
Add ifdown_eth0=NO so that the interface stays up for WakeOnLan, Gentoo #220875
2008-05-09 10:29:06 +00:00
Roy Marples
c8248d05a0
Ensure that make dep ordering is correct for install.
2008-05-06 19:52:30 +00:00
Roy Marples
bdaca0baf5
Busybox find now works with -exec correctly, so remove our nasty hack.
2008-04-30 16:44:29 +00:00
Roy Marples
5ba6f0a628
We need to ensure that the init script started is correct, translating symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526 .
2008-04-29 10:25:45 +00:00
Roy Marples
5a59542629
Fix syscons for setting the font correctly.
2008-04-29 08:00:50 +00:00
Roy Marples
2bda1871a1
When fsck_passno is set, show this so output is clearer when fsck is multiplexed, Gentoo #218141 .
2008-04-22 13:46:53 +00:00
Roy Marples
d3b111bd58
Our init scripts normally output context in [ .. ]
2008-04-22 08:12:26 +00:00
Roy Marples
c89b3763fb
Respect shutdown -F on Linux to force fsck, #59
2008-04-17 00:09:34 +00:00
Roy Marples
b3310e8e10
Fix rebooting for OpenVZ systems.
2008-04-15 21:50:08 +00:00
Roy Marples
fad61a7c4b
Fix windowkeys.
2008-04-09 12:24:34 +00:00
Roy Marples
0e114abf5d
Respect shutdown's fastboot.
2008-04-09 00:21:49 +00:00
Roy Marples
bc369085c7
More ltsp fixes.
2008-04-09 00:06:50 +00:00
Roy Marples
6d8b36e09d
Fix netmout for nfs
2008-04-08 23:25:48 +00:00
Roy Marples
f5a9b42215
Restore noserver and noopenvz to sysctl.
2008-03-28 19:05:26 +00:00
Roy Marples
f85c6ca84c
Make our messages similar
2008-03-27 14:03:37 +00:00
Roy Marples
d09f9f47eb
Split terminal encoding out.
2008-03-27 13:49:49 +00:00
Roy Marples
864e17fabc
Ignore more files.
2008-03-26 17:34:23 +00:00
Roy Marples
6af2b20297
Split sysctl into Linux and BSD specific files.
2008-03-26 09:36:34 +00:00
Roy Marples
be1f9b0a93
Add --exists and --resolve to rc-service.
2008-03-26 08:08:47 +00:00
Roy Marples
5866d829bb
Try and fix more prefix stuff.
2008-03-25 18:33:45 +00:00
Roy Marples
9b2f7bce99
Fix FreeBSD makefile.
2008-03-25 16:25:12 +00:00
Roy Marples
3d0fc150dc
Fix sysctl on Linux and BSD.
2008-03-25 14:35:52 +00:00
Roy Marples
fc7e6a3ada
Fix module args per kernel version.
2008-03-25 14:35:36 +00:00
Roy Marples
55eb3794fb
Rework our folder structure so that we don't have OS specific dirs, making it easier to share init and conf files per OS.
2008-03-25 14:06:05 +00:00
Mike Frysinger
e1b09daaac
fix broken whitespace -- no functional changes
2008-03-23 12:24:15 +00:00
Roy Marples
d9ec62b22a
Add rc-service and update all softlevel refs to runlevel.
2008-03-19 17:11:50 +00:00
Roy Marples
7b8215bbd3
Support pam_mktemp.
2008-03-18 08:19:29 +00:00
Roy Marples
8f1cb87981
Typo
2008-03-05 13:55:05 +00:00
Roy Marples
a689b66023
Add tunable SYSCONFDIR
2008-03-05 12:27:11 +00:00
Roy Marples
fba18b3a48
localmount uses lvm
2008-03-05 08:40:17 +00:00
Roy Marples
fb85a0833f
Fix fsck progress bar.
2008-03-04 16:58:26 +00:00
Roy Marples
9f0d99020a
swapctl -t doesn't work on fbsd.
2008-03-04 00:29:43 +00:00
Roy Marples
6ca5e8e0dc
Use swapctl for NetBSD.
2008-03-03 19:12:53 +00:00
Roy Marples
15cf41e713
Split VPS into VSERVER and OPENVZ
2008-03-03 17:19:56 +00:00
Roy Marples
7a8e9d4ddb
Add a gitignore make target.
2008-03-03 13:04:08 +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
a12dbdc6c9
Don't check for root in prefix.
2008-03-02 21:13:21 +00:00
Roy Marples
924ae8cadd
Don't display title coming back from single user.
2008-03-01 11:52:27 +00:00
Roy Marples
fa993d7711
ignore more stuff
2008-02-28 21:50:18 +00:00
Roy Marples
15fd2f3acc
Remove ;;
2008-02-28 21:14:59 +00:00
Roy Marples
b9f81365d2
Only reboot when starting in the boot runlevel.
2008-02-28 19:13:36 +00:00
Roy Marples
063563bd4e
Don't abort fsck at shutdown.
2008-02-28 18:43:47 +00:00
Roy Marples
c2648ca5f5
Makefile SH variable now tweaks the default shell used by our scripts.
2008-02-27 20:29:32 +00:00
Roy Marples
5ddd32c06c
Allow fsck to be multiplexed.
2008-02-20 00:33:38 +00:00
Roy Marples
e1e36b2872
keywords -> keyword
2008-02-19 14:36:22 +00:00
Roy Marples
0364bb2c84
Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22
2008-02-19 14:15:53 +00:00
Roy Marples
01e148d29d
Style
2008-02-01 12:07:19 +00:00
Roy Marples
c1b3aa77a9
fsck should ignore SIGQUIT. Some implementation exit code 3 for a reboot. Reboot on Linux requires the -f flag.
2008-02-01 10:48:21 +00:00
Roy Marples
148739ed99
Swap may need local mounts
2008-02-01 09:29:26 +00:00
Roy Marples
e2484e7f24
Fix default preen option.
2008-01-31 18:15:04 +00:00
Roy Marples
cf567c844f
Remove rc_force_auto as users can now specify -y in fsck_args.
2008-01-31 17:18:39 +00:00