]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/sshd
Made the gnump3d working out of the box...
[ipfire-2.x.git] / src / initscripts / init.d / sshd
index 0770eb8bef1c27b51f2a5b12e475ff9ae9995b8f..eff98a9f2a3f2d6391cc8b27c5e7979c15207f8e 100644 (file)
@@ -12,6 +12,7 @@
 
 case "$1" in
     start)
+               [ -e "/var/ipfire/remote/enablessh" ] || exit 0 # SSH is not enabled
         boot_mesg "Starting SSH Server..."
         # Also prevent ssh from being killed by out of memory conditions
         loadproc /usr/sbin/sshd