|  | 
 |  | 
 | 
												
													
														| 1704 |        echo '[Install]';
 | 1704 |        echo '[Install]';
 | 
												
													
														| 1705 |        echo 'WantedBy=multi-user.target'; } > "$rootdir/etc/systemd/system/inadyn.service"
 | 1705 |        echo 'WantedBy=multi-user.target'; } > "$rootdir/etc/systemd/system/inadyn.service"
 | 
												
													
														| 1706 |      chroot "$rootdir" systemctl enable inadyn
 | 1706 |      chroot "$rootdir" systemctl enable inadyn
 | 
												
													
														| 1707 | -    echo "inadyn commit:$INADYN_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
 |  | 
 | 
												
													
														|  | 
 | 1707 | +    echo "inadyn commit:$INADYN_COMMIT" >> "$rootdir/root/${PROJECT_NAME}-completed.txt"
 | 
												
													
														| 1708 |  }
 | 1708 |  }
 | 
												
													
														| 1709 |  
 | 1709 |  
 | 
												
													
														| 1710 |  image_setup_utils() {
 | 1710 |  image_setup_utils() {
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 1866 |      cd "$rootdir/root/build/gpgit" || exit 62484624682
 | 1866 |      cd "$rootdir/root/build/gpgit" || exit 62484624682
 | 
												
													
														| 1867 |      git checkout "$GPGIT_COMMIT" -b "$GPGIT_COMMIT"
 | 1867 |      git checkout "$GPGIT_COMMIT" -b "$GPGIT_COMMIT"
 | 
												
													
														| 1868 |      cp "$rootdir/root/build/gpgit/gpgit.pl" "$rootdir/usr/bin"
 | 1868 |      cp "$rootdir/root/build/gpgit/gpgit.pl" "$rootdir/usr/bin"
 | 
												
													
														| 1869 | -    echo "gpgit commit:$GPGIT_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
 |  | 
 | 
												
													
														|  | 
 | 1869 | +    echo "gpgit commit:$GPGIT_COMMIT" >> "$rootdir/root/${PROJECT_NAME}-completed.txt"
 | 
												
													
														| 1870 |  
 | 1870 |  
 | 
												
													
														| 1871 |      # email client
 | 1871 |      # email client
 | 
												
													
														| 1872 |      chroot "$rootdir" apt-get -yq install lynx abook urlview mutt
 | 1872 |      chroot "$rootdir" apt-get -yq install lynx abook urlview mutt
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 1875 |      cd "$rootdir/root/build/cleanup-maildir" || exit 246872646847264
 | 1875 |      cd "$rootdir/root/build/cleanup-maildir" || exit 246872646847264
 | 
												
													
														| 1876 |      git checkout "$CLEANUP_MAILDIR_COMMIT" -b "$CLEANUP_MAILDIR_COMMIT"
 | 1876 |      git checkout "$CLEANUP_MAILDIR_COMMIT" -b "$CLEANUP_MAILDIR_COMMIT"
 | 
												
													
														| 1877 |      cp "$rootdir/root/build/cleanup-maildir/cleanup-maildir" "$rootdir/usr/bin"
 | 1877 |      cp "$rootdir/root/build/cleanup-maildir/cleanup-maildir" "$rootdir/usr/bin"
 | 
												
													
														| 1878 | -    echo "cleanup-maildir commit:$CLEANUP_MAILDIR_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
 |  | 
 | 
												
													
														|  | 
 | 1878 | +    echo "cleanup-maildir commit:$CLEANUP_MAILDIR_COMMIT" >> "$rootdir/root/${PROJECT_NAME}-completed.txt"
 | 
												
													
														| 1879 |  
 | 1879 |  
 | 
												
													
														| 1880 |      # web server
 | 1880 |      # web server
 | 
												
													
														| 1881 |      chroot "$rootdir" apt-get -yq remove --purge apache2
 | 1881 |      chroot "$rootdir" apt-get -yq remove --purge apache2
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 1883 |      git clone "$NGINX_ENSITE_REPO" "$rootdir/root/build/nginx_ensite"
 | 1883 |      git clone "$NGINX_ENSITE_REPO" "$rootdir/root/build/nginx_ensite"
 | 
												
													
														| 1884 |      cd "$rootdir/root/build/nginx_ensite" || exit 462746826482
 | 1884 |      cd "$rootdir/root/build/nginx_ensite" || exit 462746826482
 | 
												
													
														| 1885 |      git checkout "$NGINX_ENSITE_COMMIT" -b "$NGINX_ENSITE_COMMIT"
 | 1885 |      git checkout "$NGINX_ENSITE_COMMIT" -b "$NGINX_ENSITE_COMMIT"
 | 
												
													
														| 1886 | -    echo "nginx-ensite commit:$NGINX_ENSITE_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
 |  | 
 | 
												
													
														|  | 
 | 1886 | +    echo "nginx-ensite commit:$NGINX_ENSITE_COMMIT" >> "$rootdir/root/${PROJECT_NAME}-completed.txt"
 | 
												
													
														| 1887 |      chroot "$rootdir" cd /root/build/nginx_ensite && make install
 | 1887 |      chroot "$rootdir" cd /root/build/nginx_ensite && make install
 | 
												
													
														| 1888 |      if [ ! -f "$rootdir/etc/pam.d/nginx" ]; then
 | 1888 |      if [ ! -f "$rootdir/etc/pam.d/nginx" ]; then
 | 
												
													
														| 1889 |          { echo '#%PAM-1.0';
 | 1889 |          { echo '#%PAM-1.0';
 |