summaryrefslogtreecommitdiff
path: root/bumblebee/pre-install
blob: b3edf9bd80859096cb1f9b51267d25d692aa4f3b (plain)
    1 #!/bin/sh
    2 
    3 if [ -z "`getent group bumblebee`" ]; then
    4 	/usr/sbin/groupadd --system bumblebee
    5 fi
    6 
    7 if [ -z "`getent passwd bumblebee`" ]; then
    8 	/usr/sbin/useradd -r -g bumblebee -d /etc/bumblebee -s /bin/false -c "bumblebee user" bumblebee
    9 	/usr/bin/passwd -l bumblebee
   10 fi

Generated by cgit