repo: games
action: commit
revision: 
path_from: 
revision_from: 7533e103ba21b958b66d35906f30effaca432853:
path_to: 
revision_to: 
git.thebackupbox.net
games
git clone git://git.thebackupbox.net/games
commit 7533e103ba21b958b66d35906f30effaca432853
Author: epoch 
Date:   Sat Apr 19 07:35:17 2025 +0000

    removed comments about old version

diff --git a/duck/make-pond.c b/duck/make-pond.c
index bf30f8102651990aec7eef67c6f38ab1a0151c08..
index ..2c65884b84bbcd328a45475fa33d27a15a730d77 100644
--- a/duck/make-pond.c
+++ b/duck/make-pond.c
@@ -5,11 +5,6 @@
 #include 
 #include 

-// the script it runs is just mknod and chown. that should be easy for me to do.
-
-// /usr/bin/mknod /dev/pond c 4 0
-// /usr/bin/chown duck:duck /dev/pond
-
 int main(int argc,char *argv[]) {
 	char *pathname="/dev/pond";
 	mknod(pathname,S_IFCHR|0644,makedev(4,0));
@@ -18,10 +13,5 @@ int main(int argc,char *argv[]) {
 		syslog(LOG_ERR,"duck user is missing!");
 	}
 	chown(pathname,pwd->pw_uid,pwd->pw_gid);
-	/*char *name[2];
-	name[0]="/etc/duck/MAKE_POND.sh";
-	name[1]=0;
-	execv(name[0],name);
-	perror("execve");*/
-	return 1;
+	return 0;
 }

-----END OF PAGE-----