Browse Source

Use start rather than restart

Bob Mottram 10 years ago
parent
commit
f175a8b988
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      install-freedombone.sh

+ 3
- 3
install-freedombone.sh View File

3452
   sed -i 's/;RequireAuthPing = no/RequireAuthPing = no/g' /etc/ngircd/ngircd.conf
3452
   sed -i 's/;RequireAuthPing = no/RequireAuthPing = no/g' /etc/ngircd/ngircd.conf
3453
   sed -i "s/;Name = TheOper/Name = $MY_USERNAME/g" /etc/ngircd/ngircd.conf
3453
   sed -i "s/;Name = TheOper/Name = $MY_USERNAME/g" /etc/ngircd/ngircd.conf
3454
   sed -i "s/;Password = ThePwd/Password = $IRC_OPERATOR_PASSWORD/g" /etc/ngircd/ngircd.conf
3454
   sed -i "s/;Password = ThePwd/Password = $IRC_OPERATOR_PASSWORD/g" /etc/ngircd/ngircd.conf
3455
-  service ngircd restart
3455
+  service ngircd start
3456
 
3456
 
3457
   if ! grep -q "IRC Server" /home/$MY_USERNAME/README; then
3457
   if ! grep -q "IRC Server" /home/$MY_USERNAME/README; then
3458
       echo '' >> /home/$MY_USERNAME/README
3458
       echo '' >> /home/$MY_USERNAME/README
3531
   fi
3531
   fi
3532
 
3532
 
3533
   if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
3533
   if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
3534
-      echo "$conf['authtype'] = 'plain';" >> /var/lib/dokuwiki/custom/local.php
3534
+      echo "$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
3535
   fi
3535
   fi
3536
   if ! grep -q "authtype" /etc/dokuwiki/local.php; then
3536
   if ! grep -q "authtype" /etc/dokuwiki/local.php; then
3537
-      echo "$conf['authtype'] = 'plain';" >> /etc/dokuwiki/local.php
3537
+      echo "$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
3538
   fi
3538
   fi
3539
 
3539
 
3540
   get_wiki_admin_password
3540
   get_wiki_admin_password