diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-24 09:16:17 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-24 09:16:17 +0300 |
commit | 60cd88ca45ef0e70e0183b5a225e9847a7d5d2fe (patch) | |
tree | 58657793762e60544ff1f5929ad1525f7135109a /rc.shutdown | |
parent | 917a427e40b3c21783ae6aed73117a22bd61cfc0 (diff) | |
download | init-60cd88ca45ef0e70e0183b5a225e9847a7d5d2fe.tar.gz |
Ensure rc.conf is readable
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 2 |
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 |