aboutsummaryrefslogtreecommitdiff
path: root/sh.Linux/init.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-14 20:09:53 +0000
committerRoy Marples <roy@marples.name>2007-12-14 20:09:53 +0000
commitafdcf1fa158e9833c163068f77e88d21ba0e3225 (patch)
treec170f21fb6be2dc278e2554c4ae7595f1738d1a4 /sh.Linux/init.sh
parent584cea1f8e0d2aa21f75c273159608d9ee35cda5 (diff)
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.
Diffstat (limited to 'sh.Linux/init.sh')
-rwxr-xr-xsh.Linux/init.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh
index ea9e457c..eb7659d3 100755
--- a/sh.Linux/init.sh
+++ b/sh.Linux/init.sh
@@ -24,10 +24,11 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
-# void single_user()
-#
-# Drop to a shell, remount / ro, and then reboot
-#
+# udev needs this still
+try() {
+ "$@"
+}
+
single_user() {
if [ "${RC_SYS}" = "VPS" ]; then
einfo "Halting"
@@ -99,7 +100,7 @@ mount_svcdir() {
fi
}
-_rc_get_kv_cache=""
+_rc_get_kv_cache=
get_KV() {
[ -z "${_rc_get_kv_cache}" ] \
&& _rc_get_kv_cache="$(uname -r)"