Projects
Kolab:Winterfell
cyrus-imapd
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 38
View file
cyr_systemd_helper
Changed
@@ -2,6 +2,14 @@ # get_config [config default] # extracts config option from config file +if [ ! -b /dev/null ]; then + exit 1 +fi + +if [ ! -r /dev/null -o ! -w /dev/null ]; then + exit 1 +fi + if [ -f /etc/sysconfig/cyrus-imapd ]; then . /etc/sysconfig/cyrus-imapd elif [ -f /etc/default/cyrus-imapd ]; then @@ -14,14 +22,6 @@ fi fi -if [ ! -b /dev/null ]; then - exit 1 -fi - -if [ ! -r /dev/null -o ! -w /dev/null ]; then - exit 1 -fi - get_config() { if conf=$(grep "^$1" /etc/imapd.conf); then echo $conf | cut -d: -f2
View file
cyrus-imapd.cvt_cyrusdb_all
Changed
@@ -6,6 +6,14 @@ exit 1 } +if [ ! -b /dev/null ]; then + exit 1 +fi + +if [ ! -r /dev/null -o ! -w /dev/null ]; then + exit 1 +fi + if [ -f /etc/sysconfig/cyrus-imapd ]; then . /etc/sysconfig/cyrus-imapd elif [ -f /etc/default/cyrus-imapd ]; then @@ -18,14 +26,6 @@ fi fi -if [ ! -b /dev/null ]; then - exit 1 -fi - -if [ ! -r /dev/null -o ! -w /dev/null ]; then - exit 1 -fi - # Ensure this script is run as the cyrus user. if [ -x "$(which runuser 2>/dev/null)" ]; then SWITCHUSER=runuser
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.