source:
trunk/server/packaging/Solaris/r.swat
      
      | Last change on this file was 414, checked in by , 16 years ago | |
|---|---|
| File size: 334 bytes | |
| Line | |
|---|---|
| 1 | while read dest | 
| 2 | do | 
| 3 | sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2 | 
| 4 | # Use cp;rm; instead of mv because $dest might be a symlink | 
| 5 | cp -f /tmp/$$swat $dest || exit 2 | 
| 6 | rm -f /tmp/$$swat | 
| 7 | done | 
| 8 | |
| 9 | if [ "$1" = ENDOFCLASS ] | 
| 10 | then | 
| 11 | if [ -z "$PKG_INSTALL_ROOT" ] | 
| 12 | then | 
| 13 | kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'` | 
| 14 | fi | 
| 15 | fi | 
| 16 | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    