Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: mata on July 18, 2011, 05:17:24 AM

Title: run mnttool when new drive add
Post by: mata on July 18, 2011, 05:17:24 AM
Hello!

I have interested about next topic:
http://forum.tinycorelinux.net/index.php?topic=10602.msg56352#msg5635

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.