WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: run mnttool when new drive add  (Read 1621 times)

Offline mata

  • Newbie
  • *
  • Posts: 1
run mnttool when new drive add
« on: July 18, 2011, 04:17:24 AM »

I have interested about next topic:

And I make efforts for execute mnttool, automatically. After all, I append following line to /usr/sbin/rebuildfstab file:
test "$ACTION" = add  && su $(cat /etc/sysconfig/tcuser) -c 'DISPLAY=:0.0 /usr/bin/mnttool'

How about  this way.