lb4rth
9
The 99-3g had the Problem with the double quotas. But now I get a Syntax Error:
./99-3g: line 3: syntax error: unexpected “then” (expecting “}”)
My Script is like yours I think:
#!/bin/sh
[“$ACTION”=“remove”]&&{
if[“$INTERFACE”=“3g-modem”];then
/sbin/restart3g
fi
}