aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 7f99c4c..82aaff4 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -1,8 +1,8 @@
#!/bin/sh
# shellcheck disable=1090,1091
-. /etc/init/rc.conf
. /usr/lib/init/rc.lib
+[ -f /etc/init/rc.conf ] && . /etc/init/rc.conf
run_hook pre.shutdown