Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (10 sloc) 206 Bytes
#!/bin/sh
#
# A wrapper function to restore network profile on boot.
#
PROFILE="$1"
if [ "a$PROFILE" = "a" ]; then
exec /sbin/netprofile boot
else
exec /sbin/netprofile switch $PROFILE
fi