Module Name: src
Committed By: dholland
Date: Fri Jul 3 18:36:54 UTC 2015
Modified Files:
src/etc/rc.d: cleartmp perusertmp
Log Message:
/usr/sbin/chown -> /sbin/chown
(not sure why these need explicit paths at all, but whatevs)
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/etc/rc.d/cleartmp
cvs rdiff -u -r1.7 -r1.8 src/etc/rc.d/perusertmp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/rc.d/cleartmp
diff -u src/etc/rc.d/cleartmp:1.11 src/etc/rc.d/cleartmp:1.12
--- src/etc/rc.d/cleartmp:1.11 Wed Oct 24 21:23:55 2012
+++ src/etc/rc.d/cleartmp Fri Jul 3 18:36:54 2015
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: cleartmp,v 1.11 2012/10/24 21:23:55 apb Exp $
+# $NetBSD: cleartmp,v 1.12 2015/07/03 18:36:54 dholland Exp $
#
# PROVIDE: cleartmp
@@ -26,7 +26,7 @@ cleartmp_start()
if [ "$(/usr/bin/readlink /tmp)" = ${per_user_tmp_dir}/@ruid ]; then
/bin/rm -rf ${tmp_dir}
/bin/mkdir ${tmp_dir}
- /usr/sbin/chown root:wheel ${tmp_dir}
+ /sbin/chown root:wheel ${tmp_dir}
/bin/chmod 1777 ${tmp_dir}
fi
fi
Index: src/etc/rc.d/perusertmp
diff -u src/etc/rc.d/perusertmp:1.7 src/etc/rc.d/perusertmp:1.8
--- src/etc/rc.d/perusertmp:1.7 Tue Dec 4 22:09:01 2007
+++ src/etc/rc.d/perusertmp Fri Jul 3 18:36:54 2015
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: perusertmp,v 1.7 2007/12/04 22:09:01 mjf Exp $
+# $NetBSD: perusertmp,v 1.8 2015/07/03 18:36:54 dholland Exp $
#
# PROVIDE: perusertmp
@@ -36,7 +36,7 @@ perusertmp_start()
if [ ! -d ${per_user_tmp_dir} ]; then
/bin/mkdir -p ${per_user_tmp_dir}
fi
- /usr/sbin/chown root:wheel ${per_user_tmp_dir}
+ /sbin/chown root:wheel ${per_user_tmp_dir}
/bin/chmod 0555 ${per_user_tmp_dir}
# Create magic link for /tmp.