Date: Fri, 13 Aug 2010 21:23:13 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r211291 - head/etc Message-ID: <201008132123.o7DLNDo5007560@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Fri Aug 13 21:23:13 2010 New Revision: 211291 URL: http://svn.freebsd.org/changeset/base/211291 Log: Consistently use full pathnames for external commands. Modified: head/etc/rc.resume head/etc/rc.suspend Modified: head/etc/rc.resume ============================================================================== --- head/etc/rc.resume Fri Aug 13 21:17:59 2010 (r211290) +++ head/etc/rc.resume Fri Aug 13 21:23:13 2010 (r211291) @@ -39,7 +39,7 @@ state=$2 if [ -r /var/run/rc.suspend.pid ]; then kill -9 `cat /var/run/rc.suspend.pid` - rm -f /var/run/rc.suspend.pid + /bin/rm -f /var/run/rc.suspend.pid echo 'rc.resume: killed rc.suspend that was still around' fi @@ -62,7 +62,7 @@ fi # the following to signal it to reassociate. # /usr/sbin/wpa_cli reassociate -logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'` -sync && sync && sync +/usr/bin/logger -t $subsystem resumed at `/bin/date +'%Y%m%d %H:%M:%S'` +/bin/sync && /bin/sync && /bin/sync exit 0 Modified: head/etc/rc.suspend ============================================================================== --- head/etc/rc.suspend Fri Aug 13 21:17:59 2010 (r211290) +++ head/etc/rc.suspend Fri Aug 13 21:23:13 2010 (r211291) @@ -64,11 +64,11 @@ esac # suspend and reloading it on resume. Example: # kldunload usb -logger -t $subsystem suspend at `date +'%Y%m%d %H:%M:%S'` -sync && sync && sync -sleep 3 +/usr/bin/logger -t $subsystem suspend at `/bin/date +'%Y%m%d %H:%M:%S'` +/bin/sync && /bin/sync && /bin/sync +/bin/sleep 3 -rm -f /var/run/rc.suspend.pid +/bin/rm -f /var/run/rc.suspend.pid if [ $subsystem = "apm" ]; then /usr/sbin/zzz else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008132123.o7DLNDo5007560>