aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-24 09:16:17 +0300
committerCem Keylan <cem@ckyln.com>2020-01-24 09:16:17 +0300
commit60cd88ca45ef0e70e0183b5a225e9847a7d5d2fe (patch)
tree58657793762e60544ff1f5929ad1525f7135109a /rc.shutdown
parent917a427e40b3c21783ae6aed73117a22bd61cfc0 (diff)
downloadinit-60cd88ca45ef0e70e0183b5a225e9847a7d5d2fe.tar.gz
Ensure rc.conf is readable
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 7caa853..aac5f9d 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -1,6 +1,6 @@
#!/bin/sh
-. /etc/init/rc.conf
+[ -r /etc/init/rc.conf ] && . /etc/init/rc.conf
. INITDIR/rc.lib
PATH=/sbin:/bin:/usr/sbin:/usr/bin