repo: games action: commit revision: path_from: revision_from: 7533e103ba21b958b66d35906f30effaca432853: path_to: revision_to:
commit 7533e103ba21b958b66d35906f30effaca432853 Author: epochDate: 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
--- 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-----