summaryrefslogtreecommitdiff
path: root/sh.Linux
diff options
context:
space:
mode:
Diffstat (limited to 'sh.Linux')
-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 ea9e457..eb7659d 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)"